12.10.2011, 08:36
You want if you are admin you can see the "/adminhelp" message else show only the other help?
like this?
pawn Код:
CMD:help(playerid, params[])
{
SCM(playerid,COLOR_LIGHTBLUE,"__________________HELP___________________");
SCM(playerid,COLOR_WHITE,"CAR HELP: /deletecar, /veh, /park, /addrims");
SCM(playerid,COLOR_WHITE,"CHAT HELP: /o, /b, /local,/shout, ");
SCM(playerid,COLOR_WHITE,"GENERAL HELP: /buylevel ");
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SCM(playerid,COLOR_WHITE,"ADMIN HELP: /adminhelp");
}
return 1;
}