ERROR CMDS NOT WORKING -
denniser8 - 30.09.2013
My samp CMDS not working at all...they stopped working WITHOUT ME DOING ANYTHING WTF man...........
Re: ERROR CMDS NOT WORKING -
denniser8 - 30.09.2013
Is mind that server cmds are simple
CMD:
but i have used #include <zcmd>
?
Re: ERROR CMDS NOT WORKING -
CesarLT - 30.09.2013
Does your pawno compile it without any errors?
And can you show to me how do you use your ZCMD?
Re: ERROR CMDS NOT WORKING -
denniser8 - 30.09.2013
I didint script the CMDS.......my PAWNO error shower CRASHES when i click COMPILE but it comples but when i run server it doesnt work plz HELP!!!!!!!
Re: ERROR CMDS NOT WORKING -
Kyance - 30.09.2013
Compiler crashing - "Aborting" the compiling.
You're probably missing a bracket..
Re: ERROR CMDS NOT WORKING -
CesarLT - 30.09.2013
Well, if you don't know which of the CMDs causes the problem, can you give us the whole cmd list you have?
Re: ERROR CMDS NOT WORKING -
AnonScripter - 30.09.2013
make sure that you are using ZCMD like this:
pawn Код:
CMD:kill(playerid, params[])
{
SetPlayerHealth(playerid,0);
return 1;
}
without missing any brackets
Re: ERROR CMDS NOT WORKING -
denniser8 - 01.10.2013
Nope i dont use ZCMD look what i use
if(strcmp(cmd, "/help", true) == 0)
{
if(GetPVarInt(playerid, "Logged") == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "You are not logged in!");
return 1;
}
ShowPlayerDialog(playerid,11,DIALOG_STYLE_MSGBOX," Help","/buylevel /stats /help /kill /class /blockpm /g /pm","Okay","");
return 1;
}
Re: ERROR CMDS NOT WORKING -
Mattakil - 01.10.2013
pawn Код:
if(strcmp(cmd, "/help", true) == 0)
{
if(GetPVarInt(playerid, "Logged") == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "You are not logged in!");
return 1;
}
ShowPlayerDialog(playerid,11,DIALOG_STYLE_MSGBOX,"Help","/buylevel /stats /help /kill /class /blockpm /g /pm","Okay","");
return 1;
}
ShowPlayerDialog should be done like this
pawn Код:
else
{
ShowPlayerDialog(blablabla);
return 1;
}
I reckon using ZCMD, as its just easier. If you want, PM me your code and I'll fix the errors and change to zcmd.
Re: ERROR CMDS NOT WORKING -
CesarLT - 01.10.2013
pawn Код:
if(strcmp(cmd, "/help", true) == 0)
{
if(GetPVarInt(playerid, "Logged") == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "You are not logged in!");
}
else
{
ShowPlayerDialog(playerid,11,DIALOG_STYLE_MSGBOX," Help","/buylevel /stats /help /kill /class /blockpm /g /pm","Okay","");
}
return 1;
}
Hope that will do. But I'd suggest to use ZCMD, it's much more simple, and much better.