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



help - STONEGOLD - 24.03.2012

help me for i want add gun in my gammode ammunicaton but i am new/noob scripter i edit but not work i need ur help



Код:
text38 = TextDrawCreate(7.000000, 136.000000, "~n~~r~1.~w~Buy Weapons~n~~r~2.~w~Rob Ammunation");
    text39 = TextDrawCreate(7.000000, 136.000000, "~n~~r~1.~w~Deagle~n~~r~2.~w~Tec9~n~~r~3.~w~Mp5~n~~r~4.~w~M4~n~~r~5.~w~Sniper Rifle~n~~r~6.~w~Molotov~n~~n~~w~Use ~r~LMB ~w~ to hide thes~n~~w~boxes");

i want removed molotov and add snowf gun and ak47 and comback shot gun


Re: help - BigD - 24.03.2012

Hello,

You've got a text draw, How is that a system?


Re: help - Vladamir - 24.03.2012

Make sure you specify the ID.

Код:
public OnPlayerSpawn(playerid)
{
    GivePlayerWeapon(playerid, weaponid, ammu);//weapon id at wiki.sa-mp.com
    GivePlayerWeapon(playerid, weaponid, ammu);//weapon id at wiki.sa-mp.com
    return 1;
}