[Tutorial] Spawning a car by name not using indivisual commands
#3

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
It would work even if zcmd is being used, though not by using the basic way of creating commands using zcmd.
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    //This callback is called always when a command is executed.
    if(!success) //It's better to check if it's not a command which is created by zcmd basically to avoid collision.
    {
      //Stuffs
    }
    return 1;
}
True that, forgot about the callbacks, thanks and edited.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)