Random Spawns And Money Detecting
#7

Quote:
Originally Posted by [LCG
TANKER ]
try this, untested

Код:
if (strcmp(cmdtext, "/testcmd", true) == 0)
{
	if(GetPlayerMoney(playerid) => 2500)
	{	
		GivePlayerWeapon(playerid,46,1); // Parachute with 1 ammo. I want the person to pay $2500 for it and it detect if the person got enough money or it will prevent him from buying..
		return 1;
	}
	else
	{
		// not enought money message
        return 1;
	}
}
return 0;
GTA967 helped me with a good way. Thanks for trying to help tho!
Reply


Messages In This Thread
Random Spawns And Money Detecting - by [03]Garsino - 19.11.2009, 16:16
Re: Random Spawns And Money Detecting - by [LCG]TANKER - 19.11.2009, 16:20
Re: Random Spawns And Money Detecting - by [03]Garsino - 19.11.2009, 17:16
Re: Random Spawns And Money Detecting - by Calon - 19.11.2009, 17:16
Re: Random Spawns And Money Detecting - by [03]Garsino - 20.11.2009, 15:19
Re: Random Spawns And Money Detecting - by [LCG]TANKER - 20.11.2009, 20:32
Re: Random Spawns And Money Detecting - by [03]Garsino - 20.11.2009, 21:25

Forum Jump:


Users browsing this thread: 2 Guest(s)