help with drug dealing system
#5

Quote:
Originally Posted by Joe Staff
You should note, that you're setting your drugamounts, and not adding to them
pawn Code:
weed[playerid] = 453;
Even if you have 452 'weed', you would pay all of that money to have your 'weed'

Should change all of your codes to
pawn Code:
weed[playerid]+= 453;
I done thins thanks

I made my /stash command to go with the drug dealing menu but i cant get it to work and how to make it work for all the other drugs to ?

dcmd_stash(playerid,params[])
{
#pragma unused params
new string[67];
format(string, sizeof(string),"You have: %d grams of weed", weed[playerid]);
return 1;
}
Reply


Messages In This Thread
help with drug dealing system - by [SF]RobMob - 08.02.2010, 22:00
Re: help with drug dealing system - by (Jeff) - 09.02.2010, 14:25
Re: help with drug dealing system - by [SF]RobMob - 09.02.2010, 19:31
Re: help with drug dealing system - by Joe Staff - 09.02.2010, 19:47
Re: help with drug dealing system - by [SF]RobMob - 10.02.2010, 23:43
Re: help with drug dealing system - by Onyx09 - 10.02.2010, 23:45
Re: help with drug dealing system - by [SF]RobMob - 10.02.2010, 23:56
Re: help with drug dealing system - by [SF]RobMob - 11.02.2010, 18:26
Re: help with drug dealing system - by liljon0101 - 18.03.2010, 07:12
Re: help with drug dealing system - by SfPwns - 18.03.2010, 10:35

Forum Jump:


Users browsing this thread: 1 Guest(s)