Spawn text - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Spawn text (
/showthread.php?tid=275335)
Spawn text -
Superthijs - 09.08.2011
Hello,
I want to display a text message when the player spawns, containing it's skin name.
So far I got this:
Код:
public OnPlayerSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 1) GameTextForPlayer(playerid,"You're now playing as The Truth",3000,5);
return 1;
}
But this only displays on 2nd spawn and later.
Any ideas?
Re: Spawn text -
Tee - 09.08.2011
You might not get far with that because there are not specific names for each skin.
Re: Spawn text -
Superthijs - 09.08.2011
No, I mean I define the names myself, but I want to display this text when the player spawns.