Drug selling/buying
#1

Hey, I need some assistance on creating a zcmd command for
/sellmarijuana
/sellcocaine

/buymarijuana
/buycocaine

they need to be from other players only, not just from the server, therefore it needs to deduct it from another player.
here is the base so far for the CMD sellmarijuana

Code:
CMD:sellmarijuana(playerid, params[])
{
	if(PlayerInfo[playerid][pMarijuana] < 1)
	{
	    SendClientMessage(playerid, -1, "ERROR: You do not have enough Marijuana to sell to anyone.");
	}
	else if(PlayerInfo[playerid][pMarijuana] > 0)
	{
	
	}
	return 1;
}
If anyone has any good idea's for me that would be awesome
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)