Dialog help!!!!!!
#1

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?
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.

And here is my Command /stats

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;
}
Reply


Messages In This Thread
Dialog help!!!!!! - by ManIsHere - 15.01.2016, 08:27
Re: Dialog help!!!!!! - by -CaRRoT - 15.01.2016, 08:35
Re: Dialog help!!!!!! - by GTLS - 15.01.2016, 10:05
Re: Dialog help!!!!!! - by ManIsHere - 15.01.2016, 10:09
Re: Dialog help!!!!!! - by GTLS - 15.01.2016, 10:17

Forum Jump:


Users browsing this thread: 2 Guest(s)