15.10.2010, 14:12
I don't know if anybody posted this yet (though this is my own code), but if you want to use one textdraw per player - and you want to use it in more scripts then you can simply do.
pawn Code:
// This will create the textdraw at position x:0,y:0 with the text "hey" and it will be stored in "This is my textdraw" player-variable
SetPVarInt(playerid, "This is my textdraw", _:TextDrawCreate(0, 0, "hey"));
// Now, to modify this textdraw in another script, you use for example:
TextDrawSetString(_:GetPVarInt(playerid, "This is my textdraw"), "new text");