25.06.2013, 20:40
So I just converted all my strcmp commands to zcmd but I'm having some problems, everytime I try to compile it says:
Top of my script
The command:
I think it shouldn't be under OnPlayerSpawn but it gives errors no matter where I put it
Код:
error 029: invalid expression, assumed zero error 017: undefined symbol "cmd_day" error 029: invalid expression, assumed zero fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
#include <zcmd>
Код:
public OnPlayerSpawn(playerid)
{
CMD:day(playerid, params[])
{
SetPlayerTime(playerid,12,0);
SendClientMessage(playerid, yellow, "Its Day For You.");
return 1;
}


