automatic spawn with skin
#1

Hey guys. I wanna have that when you log back in you automaticly spawn with your last used skin.
Can someone maybe help me and put it in my admin script?
I really need this.

http://pastebin.com/m14f39f12
I want that it goes in that script.

Thanks for reading though
Reply
#2

under

Код:
enum pInfo
add pSkin,


On onplayerspawn, add

Код:
if (PlayerInfo[playerid][pSkin] > 1)
{ 
    SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
    SendClientMessage(playerid, COLOR_RED, "Your last used skin has been loaded!");
}
And when you choose a skin, add under it

PlayerInfo[playerid][pSkin] = (What SKIN ID it is);

example:

Код:
PlayerInfo[playerid][pSkin] = 120;
I saw you already had pSkin, you just need to search for pLevel, and make one the same but rename it to pSkin.
Reply
#3

Damn. Doesn't work. can someone just add it to my script? Would be much easeier
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)