hey if you see this please help me :) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (
https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: hey if you see this please help me :) (
/showthread.php?tid=340600)
hey if you see this please help me :) -
Geeboi_Mehdi - 07.05.2012
Hey i started to make a trucking server!
i want to know how to add a name next to the class
ex
if they want this character they see teh name on top what class it is
Re: hey if you see this please help me :) -
TheDominator - 07.05.2012
You mean like this:
pawn Код:
AddPlayerClass(0, 1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); //Carl "CJ" Johnson//
Add this under: public OnGameModeInit()
pawn Код:
if(GetPlayerSkin(playerid) == 0)
{
GameTextForPlayer(playerid, "Carl 'CJ' Johnson", 2000, 4);
}
return 1;
}
Also you need to add this under: public OnPlayerRequestClass(playerid, classid)