03.05.2014, 04:36
error!!
this is the code that errors.. line 1722-1735
Код:
C:\Users\Louis Alcosaba\Desktop\LSCNR\gamemodes\1.2.pwn(1722) : error 029: invalid expression, assumed zero C:\Users\Louis Alcosaba\Desktop\LSCNR\gamemodes\1.2.pwn(1722) : error 004: function "zcmd_OnPlayerCommandText" is not implemented C:\Users\Louis Alcosaba\Desktop\LSCNR\gamemodes\1.2.pwn(1723) : warning 217: loose indentation C:\Users\Louis Alcosaba\Desktop\LSCNR\gamemodes\1.2.pwn(1724) : error 017: undefined symbol "cmdtext" C:\Users\Louis Alcosaba\Desktop\LSCNR\gamemodes\1.2.pwn(1735) : warning 225: unreachable code C:\Users\Louis Alcosaba\Desktop\LSCNR\gamemodes\1.2.pwn(1735) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/help", true)) { ShowPlayerDialog(playerid, DIALOG_RULES, DIALOG_STYLE_MSGBOX, "Server Rules", "- No Cheating\n- No Spamming\n- Respect Admins\n\nDo you agree to these rules?", "Yes", "No"); return 1; } return 0; }