25.06.2013, 20:44
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; }