01.05.2009, 15:16
Yes but what to do with more functions ...
then onplayerentercheckpoint occurs only in one way and for All funtions which sets
a checkpoint ..
Or have i do it like this ?
then onplayerentercheckpoint occurs only in one way and for All funtions which sets
a checkpoint ..
Or have i do it like this ?
Код:
if(strcmp("/mycommand",cmdtext,true) == 0)
{
SetPlayerCheckpoint(playerid,bla,bla,bla);
Whatelse[playerid] = 1;
SendClientMessage(playerid,COLOR_BLA,"GoGoGo XD!");
return 1;
}
OnPlayerEnterCheckpoint(playerid)
{
if(Whatelse[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
}
else
{
}
}

