15.04.2010, 17:51
hm, this solution would work but its not the best, because when you -lets say- have 50 checkpoints you need to write 49 "else if" checks.
i would do something like this:
OnPlayerEnterCheckponint:
so you can use as many chaeckpoints as you need without huge loads of code 
i would do something like this:
Код:
new cpcounter[MAX_PLAYERS], string[50];
Код:
DisablePlayerCheckpoint(playerid); cpcounter[playerid]++; format(string, sizeof(string), "This is Checkpoint number %d", cpcounter[playerid]); SendClientMessage(playerid, red, string); SetPlayerCheckpoint(*your coords*);
