15.08.2010, 16:20
Okey guys I love you all but here in script when I made random spawn locations is got errors and I don`t know why Here is code:
The thing is when team dude enters a vehicle I want checkpoint to apear
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { new rand = random(sizeof(RandomSteal)); if(gTeam[playerid] == 6) ( new rand = random(sizeof(RandomSteal)); SetPlayerCheckpoint(playerid, RandomSteal[rand][0], RandomSteal[rand][1], RandomSteal[rand][2], 3.0); return 1; }