Help with class selection
#3

Quote:
Originally Posted by Mic_H
Посмотреть сообщение
So, you just want him not you get another skin, but you dont mind him changing class?
if yes, Use OnPlayerSpawn..
PHP код:
public OnPlayerSpawn(playerid)
{
if(
GetPlayerSkin(playerid)!=pInfo[playerid][Skin] && pInfo[playerid][skin]!= -1?)//if a player doesnt have custom skin, make the value -1, else New Player's Skin will be 0 and they will get CJ-Skin
{
SetPlayerSkin(playeridpInfo[playerid][Skin]);
}

That would never work because that way, the nonlock on there skin can be abused.
Reply


Messages In This Thread
Help with class selection - by earlybird325 - 15.12.2014, 22:13
Re: Help with class selection - by Mic_H - 16.12.2014, 01:58
Re: Help with class selection - by earlybird325 - 16.12.2014, 02:45
Re: Help with class selection - by Quickie - 16.12.2014, 03:02
Re: Help with class selection - by Banana_Ghost - 16.12.2014, 09:03
Re: Help with class selection - by Quickie - 16.12.2014, 09:28
Re: Help with class selection - by Banana_Ghost - 16.12.2014, 09:30
Re: Help with class selection - by earlybird325 - 16.12.2014, 09:31

Forum Jump:


Users browsing this thread: 1 Guest(s)