SA-MP Forums Archive
help with format - 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: help with format (/showthread.php?tid=475958)



help with format - moof2010 - 15.11.2013

how i need rewrite my format for see the message right.

Код:
format(str,sizeof(str),"Jucatorul \"%s\" doreste sa iti vanda un \"%s\" la pretul de \"%s\"$.",targetid,GetWeaponName(27,gunname,sizeof(gunname)),pret);
SendClientMessage(targetid,RED,str);



pret is integrer, xxx$
targetid is id of other player