[Pedido] /skin [ID] +REP
#4

pawn Code:
if ( strcmp ( cmd , "/skin" , true ) == 0 )
{
    new skinid ;
    tmp = strtok ( cmdtext , idx ) ;
    if ( !strlen ( tmp ) ) return SendClientMessage ( playerid, -1, "/skin [skin]" ) ;
    skinid = strval ( tmp ) ;
    if ( skinid < 0 || skinid > 300 ) return SendClientMessage ( playerid, -1, "Skin invalida" ) ;
    SetPlayerSkin ( playerid , skinid ) ;
    format ( string , sizeof ( string ) , "Skin %d" , skinid ) ;
    SendClientMessage ( playerid , -1 , string ) ;
    return 1 ;
}
Reply


Messages In This Thread
[Pedido] /skin [ID] +REP - by Gustavo_z - 21.04.2012, 17:31
Re: [Pedido] /skin [ID] +REP - by 3V3RTON - 21.04.2012, 17:33
Re: [Pedido] /skin [ID] +REP - by Gustavo_z - 21.04.2012, 17:39
Re: [Pedido] /skin [ID] +REP - by RoacH` - 21.04.2012, 17:52
Re: [Pedido] /skin [ID] +REP - by Gustavo_z - 21.04.2012, 17:58
Re: [Pedido] /skin [ID] +REP - by @Riichard - 21.04.2012, 18:01
Re: [Pedido] /skin [ID] +REP - by .FuneraL. - 21.04.2012, 18:03
Re: [Pedido] /skin [ID] +REP - by RoacH` - 21.04.2012, 18:03
Re: [Pedido] /skin [ID] +REP - by Gustavo_z - 21.04.2012, 18:09
Re: [Pedido] /skin [ID] +REP - by paulor - 21.04.2012, 18:10

Forum Jump:


Users browsing this thread: 3 Guest(s)