Can i use %s in iTD - 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)
+--- Thread: Can i use %s in iTD (
/showthread.php?tid=582921)
Can i use %s in iTD -
Glossy42O - 24.07.2015
when i type the text in iTD ig can i type %s ?
Re: Can i use %s in iTD -
KayJ - 24.07.2015
No. You can use it to make textdraws. You can easily script the %s variable in pawno.
Re: Can i use %s in iTD -
Glossy42O - 24.07.2015
I made a black box at the bottom
I wrote You have been killed by and what do i need to write under it ?
Re: Can i use %s in iTD -
KayJ - 24.07.2015
killed by killerid. See OnPlayerDeath code and I guess you will getit.
AW: Can i use %s in iTD -
Mencent - 24.07.2015
Hello!
If you want to convert the name into the text, you have to work with "format". It's a function of PAWN.
So, if you want we can help you to create this.
- Mencent
Re: Can i use %s in iTD -
liquor - 24.07.2015
As with any textdraw editor, you use it to create the layout and then you'll have to customize it and switch out the actual text to a string if you want to submit dynamic data to it.