ocmd:duty(playerid,params[])
{
if(!istPlayerJob(playerid,2)
{
SetPlayerCheckpoint(playerid,2041.7004,-2593.5042,13.5469,10.0);
Points[playerid] = 1;
}
if(Points[playerid] == 1)
{
SetPlayerCheckpoint(playerid,-1632.8308,-140.7568,14.1484,10.0);
Points[playerid] = 2;
return 1;
}
if(Points[playerid] == 2)
{
SetPlayerCheckpoint(playerid,1389.1116,1653.4709,10.8125,10.0);
Points[playerid] = 3;
return 1;
}
return 1;
}
C:\Users\Alex\Desktop\Selfmade!\gamemodes\Selfmade.pwn(3027) : error 001: expected token: ")", but found "{"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.