14.02.2014, 14:43
So..
?
EDIT:
Thanks, it works (:
Could you tell me why:
GameTextForPlayer(playerid, "Text", 3000, 6)
Does not display anything?
Is there also a way to display this text until a new class is selected?
For example if the skin selector is at a Grove skin it says Grove, until you switch to Ballas where it would say Ballas?
Код HTML:
SetPlayerTeamFromClass(playerid, classid) { if (0 <= classid <= 2) { gTeam[playerid] = TEAM_BALLAS; } else if (3 <= classid <= 5) { gTeam[playerid] = TEAM_GROVE; } else if (6 <= classid <= 8) { gTeam[playerid] = TEAM_VAGOS; } }
EDIT:
Thanks, it works (:
Could you tell me why:
GameTextForPlayer(playerid, "Text", 3000, 6)
Does not display anything?
Is there also a way to display this text until a new class is selected?
For example if the skin selector is at a Grove skin it says Grove, until you switch to Ballas where it would say Ballas?