04.06.2011, 12:05
Im having this:
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?
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; } |