Problem with LuxAdmin new command
#1

I tried to make a command that gives you an admin skin.

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);
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.
Reply


Messages In This Thread
Problem with LuxAdmin new command - by NickTaSpy - 08.04.2012, 15:26
Re: Problem with LuxAdmin new command - by emokidx - 08.04.2012, 15:30
Re: Problem with LuxAdmin new command - by NickTaSpy - 08.04.2012, 17:42

Forum Jump:


Users browsing this thread: 1 Guest(s)