SERVER: Unknown Command, but still works?
#10

Im having this:

Quote:

command(setskin, playerid, params[])
{
new skin, id;
if( sscanf( params, "du", skin, id ))
{
if( Player[playerid][AdminLevel] >= 3 )
{
SendClientMessage( playerid, GREY, "Syntax: /setskin [skinid] [playerid]" );
}
}
else
{
if( Player[playerid][AdminLevel] >= 3 )
{
Player[id][Skin] = skin;
SetPlayerSkin( id, skin );
}
}
return 1;
}

command works fine and all. No errors in compile. But... when you do it in-game then the skin changes and all but you still recieve the SERVER: Unknown Command error. Anyone knows why this is?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)