14.08.2008, 22:05
well i got it what you need to is add another giveplayermoney fucntion because if u see below:
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.
i cant just say it'll work coz i havent tested it. but its worth a try :P
pawn Код:
GivePlayerMoney(playerid, -DrugPrice[playerid]);
try puting this next to the it.
pawn Код:
GivePlayerMoney(giveplayer, +DrugPrice[playerid]);

