SA-MP Forums Archive
I need little 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need little help. (/showthread.php?tid=127594)



I need little help. - Peep - 14.02.2010

i want to add to this code that i can sell weapons in car too.

Код:
else if(strcmp(x_weapon,"mp5",true) == 0) { if(!PlayerToPoint(15.0,playerid,1484.3933,-1731.2124,6.7213)) { SendClientMessage(playerid, COLOR_GREY, "  You can sell this gun only at black market/Arms Dealer car !"); return 1; } if(PlayerInfo[playerid][pMats] > 199) { weapon[playerid] = 29; price[playerid] = 200; ammo[playerid] = 200; } else { SendClientMessage(playerid,COLOR_GREY,"  Not enough Materials for that Weapon!"); return 1; } }
and need to be used this somehow
Код:
IsAArmsDealerCar(carid)



Re: I need little help. - Peep - 14.02.2010

bump


Re: I need little help. - Peep - 19.02.2010

bump