SA-MP Forums Archive
[int]x[int] in string - 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: [int]x[int] in string (/showthread.php?tid=645931)



[int]x[int] in string - NealPeteros - 07.12.2017

So, I'm trying to use "9x19mm Parabellum" as a string, but the code would interpret it as multiplying(or i think it does at least)




Re: [int]x[int] in string - Dayrion - 07.12.2017

You should format your string like: "%ix%i". That's all.