Store textdraw's id in a PVar - 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: Store textdraw's id in a PVar (
/showthread.php?tid=180400)
Store textdraw's id in a PVar -
kLx - 01.10.2010
Hello fellas
simple questions, how to store textdraw's id in a pvar, without getting a tag mismatch?
Re: Store textdraw's id in a PVar -
CaHbKo - 01.10.2010
Make some function like 'Text:GetPVarTextdraw' with the PVar parameters, pass the parameters to GetPVarInt, and return the value.
I didn't test this. Post the results.
Re: Store textdraw's id in a PVar -
Jefff - 01.10.2010
SetPVarInt(playerid,"PlayerTD",_:TDArray[playerid]); or Text:TDArray