30.03.2013, 21:44
hey, i want to when a cop enter the checkpoint happens something i know, but i cant match the if isacop or if isaterrorist...
help me or teach me how to do it.
thanks, i will +rep
help me or teach me how to do it.
thanks, i will +rep
Код:
public OnPlayerEnterCheckpoint(playerid) { if gTeam[playerid] = POLICE { SetPlayerCheckpoint(playerid, -1632.6051, 653.5886, -5.5494, 3.0); return 1; } if gTeam[playerid] = TERRORIST { SetPlayerCheckpoint(playerid, -1476.3080, 430.1486, 6.1100, 3.0); return 1; } /* GivePlayerMoney(playerid, 100); DisablePlayerCheckpoint(playerid); */ return 1; }