Set skin..
#2

Try this

pawn Код:
COMMAND:myskin(playerid,params[])
{
    if ( sscanf( params, "d", params[ 0 ] ) ) return SendClientMessage( playerid, -1, ""COL_LIGHTBLUE"Usage:{FFFFFF} /myskin <skin>");

    if ( !IsValidSkin( params[ 0 ] ) ) return SendClientMessage( playerid, -1, ""COL_RED"ERROR:{FFFFFF} Invalid skin ID.");
       
    SetPlayerSkin(playerid, params[ 0 ]);
    Account[playerid][Skin] = params [ 0 ];

    new String[180];
    format( String, sizeof String, "{FFFFFF}You set your Skin to "COL_LIGHTBLUE"%d{FFFFFF} and it has been saved into your account succesfully!", params[ 0 ] );
    SendClientMessage( playerid, -1, String );
    return 1;
}
Reply


Messages In This Thread
Set skin.. - by b0b - 17.01.2013, 18:58
Re: Set skin.. - by azzerking - 17.01.2013, 19:02
Re: Set skin.. - by LarzI - 17.01.2013, 19:06
Re: Set skin.. - by azzerking - 17.01.2013, 19:09
Re: Set skin.. - by b0b - 17.01.2013, 19:09
Re: Set skin.. - by b0b - 17.01.2013, 19:15
Re: Set skin.. - by b0b - 17.01.2013, 19:24
Re : Set skin.. - by yusei - 17.01.2013, 19:28
Re: Set skin.. - by b0b - 17.01.2013, 19:36
Re : Set skin.. - by yusei - 17.01.2013, 19:40

Forum Jump:


Users browsing this thread: 3 Guest(s)