Auto save skin
#1

PHP код:
CMD:skin(playeridparams[])
{
    new 
skin;
    if(
sscanf(params"i"skin)) return SendClientMessage(playerid, -1"{FFFF00}Usage: /skin <ID> 0-299");
    if(
skin 299 || skin 0) return SendClientMessage(playerid, -1"{FF0000}Invalid {FF0000}ID. {FFFF00}Available Skin IDs are 1 to 299");
    
GameTextForPlayer(playerid,"~g~Skin ~g~Changed",2000,3);
    
SetPlayerSkin(playeridskin);
    return 
1;

How to make every time player use /skin command. it automatically save/load after player leave and join the server.
Reply


Messages In This Thread
Auto save skin - by kbalor - 26.06.2012, 13:55

Forum Jump:


Users browsing this thread: 1 Guest(s)