04.02.2015, 21:53
Hey guys, Iґve got a little problem with my new GM
I know it sounds dumb but my CMDґs just dont do anything фФ
Im using zcmd and theirs nothing wrong with the CMDґs but its just doing nothing its not even saying "SERVER: UNKNOWN COMMAND" so it seems like the Server knows the CMD but its not reacting
CMD for Example:
It works fine in my other gamemodes but here it just doesnt do anything
I know it sounds dumb but my CMDґs just dont do anything фФ
Im using zcmd and theirs nothing wrong with the CMDґs but its just doing nothing its not even saying "SERVER: UNKNOWN COMMAND" so it seems like the Server knows the CMD but its not reacting
CMD for Example:
PHP код:
CMD:skin(playerid, params[])
{
new skin;
if(sscanf(params, "i", skin)) return SendClientMessage(playerid, 0xFFFFFFFF,"{FFFFFF}Usage: {B0000C}/skin [SkinID]");
if(pInfo[playerid][Adminlevel] >= 4 || IsPlayerAdmin(playerid))
{
if(skin > 299 || skin < 0) return SendClientMessage(playerid, 0xFFFFFFFF,"{FFFFFF}ERROR: {B0000C}Youґve got to choose a valid skin [0-299]");
pInfo[playerid][pSkin] = skin;
SetPlayerSkin(playerid, pInfo[playerid][pSkin]);
SpawnPlayer(playerid);
}
else
{
SendClientMessage(playerid,0xFFFFFFFF,"{FFFFFF}Error: {6C0808}Your Adminlevel is not high enough!");
}
return 1;
}
