SA-MP Forums Archive
Any Help with This problem? - 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: Any Help with This problem? (/showthread.php?tid=539335)



Any Help with This problem? - PiLLoW - 27.09.2014

D:\samp CNR\gamemodes\CNR.pwn(22522) : error 029: invalid expression, assumed zero
D:\samp CNR\gamemodes\CNR.pwn(22522) : error 029: invalid expression, assumed zero
D:\samp CNR\gamemodes\CNR.pwn(22522) : error 029: invalid expression, assumed zero
D:\samp CNR\gamemodes\CNR.pwn(22522) : fatal error 107: too many error messages on one line

This it The Code
Quote:

ShowTextDrawMenu(playerid, TD_MENU_DRUGDEALER,"~g~Item Purchase", Menu_Items[giveplayerid] + 4, Menu_Items[giveplayerid]);
format(string, sizeof(string), "Buying From ~b~%s (%i)~n~~w~You Are Carrying ~p~%d Grams~n~~w~You Can Carry: ~p~%d",PlayerInfo[giveplayerid][pName],giveplayerid,PlayerInfo[playerid][pDrugs],MAX_DRUGS);
ShowTextDrawMenuItems(playerid, 0, string, " ", " ",0);