Player Class Info?
#2

i would use SetPlayerClassEx and under OnPlayerRequestSpawn GametextForPlayer. I would use getPlayerClass then. It should look like this then(i didnt compile that, might have errors, but i just want to give an example):

Код:
OnPlayerRequestSpawn
{
if(GetPlayerTeam(playerid)==1) //shows your first teams' name
{
GameTextForPlayer(playerid, "Youre in Team One!", 3000, 3);
}
else if(GetPlayerTeam(playerid)==2)
{
GameTextForPlayer(playerid, "Youre in Team Two!", 3000, 3);
}
// And so On

return 1;
}
You have to set for a new Name you want to display, a new Team with AddPlayerClassEx and use the Code above to display the name. That's all. I hope it helped you.

Greetings,
DeathOnaStick
Reply


Messages In This Thread
Player Class Info? - by Quest123 - 22.09.2009, 10:13
Re: Player Class Info? - by DeathOnaStick - 22.09.2009, 17:36
Re: Player Class Info? - by Ov3rl0rd - 22.09.2009, 18:47
Re: Player Class Info? - by _Vortex - 22.09.2009, 19:04
Re: Player Class Info? - by Quest123 - 23.09.2009, 00:11
Re: Player Class Info? - by ilikepie2221 - 23.09.2009, 00:37
Re: Player Class Info? - by _Vortex - 23.09.2009, 00:55
Re: Player Class Info? - by Quest123 - 23.09.2009, 05:39

Forum Jump:


Users browsing this thread: 1 Guest(s)