CreateDynamicPickUp help
#1

OnGameModeInit:
Код:
pickup19 = CreateDynamicPickup(1274, 3, 363.5612,-2060.9463,15.3972, 0);
bagwitmoney = CreateDynamicPickup(1550, 3, 972.4592, -2356.1089, 91.6249, 0);
OnPlayerPickupDynamicPickUp:
Код:
if(pickupid == pickup19)
	{
		GivePlayerMoney(playerid, 2500);
		DestroyDynamicPickup(pickup19);
	}
	if(pickupid == bagwitmoney)
	{
		GivePlayerMoney(playerid, 150000);
		DestroyDynamicPickup(bagwitmoney);
	}
It doesn't work. I can't see the pickup. How can i make it when player pickup PickUp to give him money and to destroy the pickup?
Reply


Messages In This Thread
CreateDynamicPickUp help - by dan40o - 01.01.2015, 11:58
Re: CreateDynamicPickUp help - by nezo2001 - 01.01.2015, 12:05
Re: CreateDynamicPickUp help - by dan40o - 01.01.2015, 12:06
Re: CreateDynamicPickUp help - by nezo2001 - 01.01.2015, 12:10
Re: CreateDynamicPickUp help - by dan40o - 01.01.2015, 12:13
Re: CreateDynamicPickUp help - by nezo2001 - 01.01.2015, 12:17
Re: CreateDynamicPickUp help - by nezo2001 - 01.01.2015, 12:20
Re: CreateDynamicPickUp help - by dan40o - 01.01.2015, 12:32
Re: CreateDynamicPickUp help - by Schneider - 01.01.2015, 12:41
Re: CreateDynamicPickUp help - by dan40o - 01.01.2015, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)