SA-MP Forums Archive
Variable to Dialog ? + questions - 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: Variable to Dialog ? + questions (/showthread.php?tid=416785)



[HELP]string to Dialog - Saw® - 18.02.2013

Hey , I have some questions :
-How to set a variable in dialog liste for example.(ex : \Weapon(%s)(ammo %d)\n....) ?
-How to check if a player died by explosion & who caused it ? (e.g /explode command to explode ourselves).
-How to transform Health float from x.00000 to x ?


thank you.


Re: Variable to Dialog ? + questions - Saw® - 18.02.2013

Код:
1) "format", as with ANY string formatting.
thanks , but ,Have no Idea how to attach the format to dialog ..