Skinsave
#1

Hi, I have a skin filterscript which allows me to use /skin ID, but whenever that player dies, it goes back to the default addplayerclass one. Im still learning,


Copied theese from the gamemode script

#define playerskin

public OnPlayerDeath(playerid, killerid, reason)
{
GetPlayerSkin(playerid, playerskin);
return 1;

public OnPlayerSpawn(playerid)
{
SetPlayerSkin(playerid, playerskin);
return 1;
}

Probably wrong, but I atleast tried doing it myself haha.
Reply


Messages In This Thread
Skinsave - by Counterafk - 05.04.2014, 09:05
Re: Skinsave - by Dokins - 05.04.2014, 09:09
Re: Skinsave - by Counterafk - 05.04.2014, 09:21
Re: Skinsave - by Dokins - 05.04.2014, 09:25
Re: Skinsave - by Counterafk - 05.04.2014, 09:28
Re: Skinsave - by Dokins - 05.04.2014, 09:34
Re: Skinsave - by Counterafk - 05.04.2014, 09:38
Re: Skinsave - by Dokins - 05.04.2014, 09:42
Re: Skinsave - by Counterafk - 05.04.2014, 09:46
Re: Skinsave - by CroM256 - 05.04.2014, 09:49

Forum Jump:


Users browsing this thread: 1 Guest(s)