Posts: 44
Threads: 7
Joined: Nov 2012
Hi,
I want to create a class with AddPlayerClass depending upon of the variable player:
PHP код:
ClanInfo[ PlayerInfo[playerid][pTeam] ][cSkin];
How to process ?
Posts: 44
Threads: 7
Joined: Nov 2012
No. AddPlayerClass is OnGamemodeInit, is not possible to use "playerid"
Posts: 44
Threads: 7
Joined: Nov 2012
It's just for change skin in sйlect class. SetSpawnInfo modify in a select class?
Posts: 1,311
Threads: 11
Joined: Mar 2015
Reputation:
0
Hello!
AddPlayerClass overwrite the skin for all players, not only for you!
If you want to change your skin in a class you have to work with SetSpawnInfo or SetPlayerSkin.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
SetPlayerSkin in OnPlayerRequestClass. That's the best you'll get.