Quote:
Originally Posted by [Aka]Dragonu
I made this
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,15.0,-78.2537,-1135.9974,1.0781)// where x,y,z are checkpoints coords { SetPlayerCheckpoint(playerid, -78.2537, -1135.9974, 1.0781, 5); return 1; }
But here's the error :
pawn Код:
D:\Games\GTA San Andreas\server\gamemodes\slrpg.pwn(4998) : error 001: expected token: ")", but found "{"
|
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,15.0,-78.2537,-1135.9974,1.0781))// where x,y,z are checkpoints coords
{
SetPlayerCheckpoint(playerid, -78.2537, -1135.9974, 1.0781, 5);
return 1;
}