SA-MP Forums Archive
can your guys tell me what is the problem?? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: can your guys tell me what is the problem?? (/showthread.php?tid=380625)



can your guys tell me what is the problem?? - ejul - 26.09.2012

SOLVED


Re: can your guys tell me what is the problem?? - Rimeau - 26.09.2012

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, ...)
Add another ) to the end of these lines


//Here:

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 20.0,1869.8599,-2493.2256,13.5547))
{
    Island[Los_Santos][playerid] = SetPlayerFlightCheckpoint(playerid, 1869.8599,-2493.2256,13.5547, 10.0);
    IslandName="Los Santos";
}
else if(IsPlayerInRangeOfPoint(playerid, 20.0,-1437.0648,48.4609,14.1484))
{
    Island[San_Fierro][playerid] = SetPlayerFlightCheckpoint(playerid, -1437.0648,48.4609,14.1484, 10.0);
    IslandName="San Fierro";
}
else if(IsPlayerInRangeOfPoint(playerid, 20.0,1476.5433,1465.9758,10.8281))
{
    Island[Las_Venturas][playerid]=SetPlayerFlightCheckpoint(playerid, 1476.5433,1465.9758,10.8281, 10.0);
    IslandName="Las Venturas";
}



Re: can your guys tell me what is the problem?? - ejul - 26.09.2012

woooww..thanks