How to make locked skins
#1

Hello.
I want to make a player skin that only certian player or admin can use. Could someone help me with that.
Thanks.
Reply
#2

yes easy
juste add a class with this skin
then on player request spawn check the skin id then if the player is admin
he can take else use "return 0;" to block his spawn
Reply
#3

Ok, I have this:
Код:
public OnGameModeInit(){

yanzl = AddPlayerClass(165,1281.1615,-831.0143,83.1406,186.7324,46,0,17,50,0,0);

public OnPlayerRequestClass(playerid,classid){

if(classid==yanzl){
GameTextForPlayer(playerid,"~b~~h~Yanzl.",1000,3);
SetPlayerColor(playerid,ADMIN);}
What do I need to add so that skin will be ony avaiable for Yanzl?
Reply
#4

Please help, I'm not that good with scripting.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)