24.02.2012, 13:02
i need this command for vip and when player die he will spawn with his vipskin again please check and make for me.
pawn Код:
dcmd_skin( playerid, params[ ] )
{
new
skin;
if( sscanf( params, "i", skin ) ) return SendClientMessage( playerid, -1, "Usage: /skin <ID>" );
if( skin > 299 || skin < 1 ) return SendClientMessage( playerid, -1, "Invalid ID. Available Skin IDs are 1 to 299!" );
new
string[ 128 ];
format( string, sizeof( string ), "You have changed your skin to %d", skin );
SendClientMessage( playerid, -1, string );
SetPlayerSkin( playerid, skin );
return 1;
}
pawn Код:
if(PlayerInfo[playerid][vip] >= 1){