Want to setplayercheckpoint in a command ... how ?
#9

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 ?

Код:
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
  {
  }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)