Quote:
Originally Posted by iZN
Well you've forgotten something.
pawn Код:
new NightVision; public OnFilterScriptInit() { NightVision = CreatePickup(368, 2, -412.0353, 2235.6851, 42.4297, -1); return true; } public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == NightVision) { GivePlayerWeapon(playerid, 44, 1); } return ture; }
|
So this pickup can only be done with OnPlayerPickup?
It works fine this way,so thank you for the help everyone!