A little bit of help here please
#1

I am trying to make it so when you do /setadminskin <SKINIDHERE> what you put there your skin would chance to for your permanant admin skin and message to pop up saying you have done it


pawn Код:
CMD:setadminskin(playerid, params[])
{
    if(PlayerData[ID][AdminLevel] >= 1)
    {
        new string[128], newskin[3];
        if(sscanf(params, "sk", newskin)) return SendClientMessage(playerid, COLOR_GREEN, "USAGE: /setadminskin <skinid>");
        format(PlayerData[playerid][AdminSkin],"%s",newskin);
        format(string, sizeof(string), "You set your admin skin to %s", newskin);
        SendClientMessage(playerid, 0xFFFFFFF, string);
    }
    return 1;
}

Im getting this error


pawn Код:
error 035: argument type mismatch (argument 2)

Line 488 : format(PlayerData[playerid][AdminSkin],"%s",newskin);


Thank You


Please Help Me Please
Reply


Messages In This Thread
A little bit of help here please - by Scripter12345 - 23.04.2012, 22:38
Re: A little bit of help here please - by Scripter12345 - 23.04.2012, 23:15
Re: A little bit of help here please - by ViniBorn - 24.04.2012, 00:08
Re: A little bit of help here please - by [KHK]Khalid - 24.04.2012, 00:33
Re: A little bit of help here please - by Ballu Miaa - 24.04.2012, 04:49

Forum Jump:


Users browsing this thread: 1 Guest(s)