SA-MP Forums Archive
Help with textdraws - 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: Help with textdraws (/showthread.php?tid=225593)



Help with textdraws - marinov - 13.02.2011

I'm making a team deathmatch, I have 2 teams (Black Bullets, and Sons Of Saints), I want a textdraw that its right on top of the mini-map that says wich team the player is (OnPlayerSpawn), plz just make the that, I can arrange where to put each thing by myself.

PS: I did search wiki, and tryed to make it, but the textdraws never showed up o.O


Re: Help with textdraws - Th3Angel - 13.02.2011

TextDrawShowForPlayer moar


Re: Help with textdraws - marinov - 13.02.2011

yes, I did use that


Re: Help with textdraws - -Rebel Son- - 14.02.2011

Make a textdraw, and use a global variable, format the textdraw using a string, (TextdrawSetString) then make a function that has GetPlayerTeam ( Or gTeam == 1/2) and it to somthing like.. "team" Then on the text put "Team: %d" and put string at the end. then Hide it, then show it.