+- 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)
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