- 0
Error 004 Playertopoint
-
Similar Content
-
- 1 reply
- 2.000 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
sonnyonr
Sallut am si eu o problema..
Am incercat sa bag factiuni noi si la prima factiune deja a inceput sa imi dea errori cu playertopoint:|
Linii:
[pawn]if (newkeys==KEY_SECONDARY_ATTACK)
{
if (PlayerToPoint(3.0, playerid,811.0107,-1616.1750,13.5469)) //afara
{
SetPlayerInterior(playerid,4);
SetPlayerPos(playerid,457.304748,-88.428497,999.554687);//interior
GameTextForPlayer(playerid, "~w~Burger Shot", 5000, 1);
PlayerInfo[playerid][pInt] = 4;
}
else if (PlayerToPoint(3.0, playerid,250.1826,86.7644,1002.9207)) // jail ls
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1779.5760,-1577.0315,1736.3599);
GameTextForPlayer(playerid, "~w~Los Santos Jail", 5000, 1);
PlayerInfo[playerid][pInt] = 0;
}
else if (PlayerToPoint(3.0, playerid,1397.0253,-1571.0708,14.2703))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1445.0381,-1465.7487,1616.3073);
GameTextForPlayer(playerid, "~w~Tribunal Los Santos", 5000, 1);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(2.0, playerid,1016.2360,-1557.8253,14.8657))//DMV
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~w~Departament of ~n~~w~Motor Vehicles", 1000, 1);
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,-2029.798339,-106.675910,1035.171875);
}
else if (PlayerToPoint(2.0, playerid,1450.1398,-2287.6506,13.5469))//ha catre int
{
if(PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~w~Hitman Agency", 1000, 1);
SetPlayerInterior(playerid,5);
SetPlayerPos(playerid,226.293991,-7.431529,1002.210937);//int
}
}
else if (PlayerToPoint(3.0, playerid,689.4579,-1275.6936,13.5592)) //Vla catre int
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~w~Varrios Los Aztecas", 5000, 1);
SetPlayerInterior(playerid,11);
SetPlayerPos(playerid, 501.980987,-69.150199,998.757812); //int
}
else if (PlayerToPoint(2.0, playerid,681.557861,-455.680053,-25.609874))//ha catre ext
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~w~Los Santos", 1000, 1);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1450.1398,-2287.6506,13.5469);
}
else if (PlayerToPoint(3.0, playerid,501.980987,-69.150199,998.757812))//VLA catre ext
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,689.4579,-1275.6936,13.5592);
}
else if (PlayerToPoint(2.0, playerid,-1685.636474,1035.476196,45.210937))//ng catre ext
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~w~Los Santos", 1000, 1);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2719.3000,-2516.2908,17.3672);
}
else if (PlayerToPoint(3.0, playerid,1162.2500,-1434.9874,22.7850))
{
SetPlayerInterior(playerid,6);
SetPlayerPos(playerid,-26.691598,-55.714897,1003.546875);
GameTextForPlayer(playerid, "~w~24/7", 5000, 1);
PlayerInfo[playerid][pInt] = 6;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid,1090.7542,-1476.3380,22.7465))
{
SetPlayerInterior(playerid,16);
SetPlayerPos(playerid,-204.439987,-26.453998,1002.273437);
GameTextForPlayer(playerid, "~w~Tatto", 5000, 1);
PlayerInfo[playerid][pInt] = 16;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid,1102.7335,-1458.3210,15.7969))
{
SetPlayerInterior(playerid,6);
SetPlayerPos(playerid,-2240.468505,137.060440,1035.414062);
GameTextForPlayer(playerid, "~w~Zero's RC shop", 5000, 1);
PlayerInfo[playerid][pInt] = 6;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid,1154.4521,-1458.1329,15.7969))
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,-103.559165,-24.225606,1000.718750);
GameTextForPlayer(playerid, "~w~Sex Shop", 5000, 1);
PlayerInfo[playerid][pInt] = 3;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid,2307.2935,-1786.0671,13.5557))
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,1527.229980,-11.574499,1002.097106);
GameTextForPlayer(playerid, "~w~B'Dub House", 5000, 1);
PlayerInfo[playerid][pInt] = 3;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3.0, playerid,329.0100,-1513.5048,36.0391))
{
SetPlayerInterior(playerid,18);
SetPlayerPos(playerid,1726.6016,-1642.5806,20.2253);
GameTextForPlayer(playerid, "~w~Los Santos Hotel", 5000, 1);
PlayerInfo[playerid][pInt] = 18;
PlayerInfo[playerid][pLocal] = 255;
}[/pawn]
Factiunea noua este VLa - Varrios los aztecas
Ce ii pot face s ao rezolv?
2 answers to this question
Recommended Posts