Rank with Skin
#1

I use godfather gamemode.

When I /giverank I want to change skin of player.

What should I do?

Is this line?
Код:
	if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
		else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; }
		else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; }
		else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; }
		else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; }
		else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Company Owner"; }
		else { rtext = "Trainee"; }
Reply
#2

You should ask this in the godfather thread. And no, I don't think that's the line.
Reply
#3

Код:
	if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; SetPlayerSkin(targetid, 99); }
		else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; SetPlayerSkin(targetid, 5); }
		else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; SetPlayerSkin(targetid, 7); }
		else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; SetPlayerSkin(targetid, 3); }
		else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; SetPlayerSkin(targetid, 2); }
		else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Company Owner"; SetPlayerSkin(targetid, 57); }
		else { rtext = "Trainee"; SetPlayerSkin(targetid, 155); }
You have to change the skin id's by yourself
Reply
#4

Quote:
Originally Posted by Andom
Код:
	if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; SetPlayerSkin(targetid, 99); }
		else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; SetPlayerSkin(targetid, 5); }
		else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; SetPlayerSkin(targetid, 7); }
		else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; SetPlayerSkin(targetid, 3); }
		else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; SetPlayerSkin(targetid, 2); }
		else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Company Owner"; SetPlayerSkin(targetid, 57); }
		else { rtext = "Trainee"; SetPlayerSkin(targetid, 155); }
You have to change the skin id's by yourself
Thx but it doesn't work.
Reply
#5

lol , that's a bollshit ...

That with rank it's from a command , like /d(epartments)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)