15.01.2016, 08:27
Hi all i am New in Server making and i try to make Dialog in CMD /stats.
but i am facing 1 error which i cant solve. Anyone of you can help me?
And here is my Command /stats
but i am facing 1 error which i cant solve. Anyone of you can help me?
Quote:
C:\Users\Admin\Desktop\Unknown\Unknown\gamemodes\U nknown.pwn(20771) : error 017: undefined symbol "cmdtext" C:\Users\Admin\Desktop\Unknown\Unknown\gamemodes\U nknown.pwn(20773) : warning 202: number of arguments does not match definition C:\Users\Admin\Desktop\Unknown\Unknown\gamemodes\U nknown.pwn(20773) : warning 202: number of arguments does not match definition C:\Users\Admin\Desktop\Unknown\Unknown\gamemodes\U nknown.pwn(20773) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
Quote:
CMD : stats(playerid, params[]) { if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command."); if(!strcmp(cmdtext,"/drinks", true)) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,"Ok"); } ShowStatsSmall(playerid, playerid); return 1; } |