Drug Scripting
#9

well i got it what you need to is add another giveplayermoney fucntion because if u see below:
pawn Код:
GivePlayerMoney(playerid, -DrugPrice[playerid]);
it says that take of the amount of money from the buyer, but yet it cant give money to the seller because theres not funtion for it.
try puting this next to the it.
pawn Код:
GivePlayerMoney(giveplayer, +DrugPrice[playerid]);
i cant just say it'll work coz i havent tested it. but its worth a try :P

Reply


Messages In This Thread
Drug Scripting - by matt2127 - 14.08.2008, 19:10
Re: Drug Scripting - by matt2127 - 14.08.2008, 19:31
Re: Drug Scripting - by Doktor - 14.08.2008, 19:33
Re: Drug Scripting - by matt2127 - 14.08.2008, 19:41
Re: Drug Scripting - by Doktor - 14.08.2008, 19:49
Re: Drug Scripting - by matt2127 - 14.08.2008, 19:58
Re: Drug Scripting - by matt2127 - 14.08.2008, 20:13
Re: Drug Scripting - by matt2127 - 14.08.2008, 21:49
Re: Drug Scripting - by ShadoW_StaH - 14.08.2008, 22:05
Re: Drug Scripting - by matt2127 - 14.08.2008, 23:47

Forum Jump:


Users browsing this thread: 1 Guest(s)