Team color problem
#1

Hello, When you select a team/class in F4 and change team. Then the name colors not changing, it's sticks to the the preview team not the new one, So If your preview team had Color red and you change to team2 that have color green it's still have Color red.

Need help, Can't figure out this on my own, Please

//Al
Reply
#2

Do this
Код:
//OnGameModeInit

AddPlayerClassEx(teamid, modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo); // Not AddPlayerClass but AddPlayerClassEx
Код:
forward SetPlayerToTeamColor;
Код:
//OnPlayerSpawn

SetPlayerToTeamColor(playerid, COLOR);
Reply
#3

Quote:
Originally Posted by CAR
Do this
Код:
//OnGameModeInit

AddPlayerClassEx(teamid, modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo); // Not AddPlayerClass but AddPlayerClassEx
Код:
forward SetPlayerToTeamColor;
Код:
//OnPlayerSpawn

SetPlayerToTeamColor(playerid, COLOR);
Aight, Going to check more about that later, Anyone who have any other suggestions?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)