01.01.2015, 11:58
OnGameModeInit:
OnPlayerPickupDynamicPickUp:
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?
Код:
pickup19 = CreateDynamicPickup(1274, 3, 363.5612,-2060.9463,15.3972, 0); bagwitmoney = CreateDynamicPickup(1550, 3, 972.4592, -2356.1089, 91.6249, 0);
Код:
if(pickupid == pickup19) { GivePlayerMoney(playerid, 2500); DestroyDynamicPickup(pickup19); } if(pickupid == bagwitmoney) { GivePlayerMoney(playerid, 150000); DestroyDynamicPickup(bagwitmoney); }