strcmp to zcmd failure, undefined symbol
#2

Actually, zcmd commands are like functions. You define them like this:
Код:
public OnPlayerSpawn(playerid)
{
   //code when player SPAWNS
   return 1;
}

CMD:day(playerid, params[]) //Your command
{
	SetPlayerTime(playerid, 12, 0);
	SendClientMessage(playerid, yellow, "Its Day For You.");
	return 1;
}
Reply


Messages In This Thread
strcmp to zcmd failure, undefined symbol - by iVk - 25.06.2013, 20:40
Re: strcmp to zcmd failure, undefined symbol - by Zeyo - 25.06.2013, 20:44
Re: strcmp to zcmd failure, undefined symbol - by iVk - 26.06.2013, 12:04
Re: strcmp to zcmd failure, undefined symbol - by Weaselpwns - 26.06.2013, 12:30
Re: strcmp to zcmd failure, undefined symbol - by iVk - 26.06.2013, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)