08.04.2012, 15:26
I tried to make a command that gives you an admin skin.
Then I added this line where all the commands are added in the same format.
Then I have no errors BUT, I go ingame and the command is unknown.I tried changing the command and the level but it didnt work.
pawn Код:
dcmd_paskin(playerid,params[])
{
#pragma unused params
if(AccInfo[playerid][Level] >= 1)
{
SetPlayerSkin(playerid, 217);
return 1;
}
return 0;
}
Then I added this line where all the commands are added in the same format.
pawn Код:
dcmd(paskin,1,cmdtext);