Goggles problem
#5

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!
Reply


Messages In This Thread
Goggles problem - by RaptorX72 - 09.11.2013, 13:47
Re: Goggles problem - by Battlezone - 09.11.2013, 13:51
Re: Goggles problem - by Konstantinos - 09.11.2013, 13:51
Re: Goggles problem - by iZN - 09.11.2013, 13:54
Re: Goggles problem - by RaptorX72 - 09.11.2013, 14:02
Re: Goggles problem - by Konstantinos - 09.11.2013, 14:03
Re: Goggles problem - by RaptorX72 - 09.11.2013, 14:12

Forum Jump:


Users browsing this thread: 3 Guest(s)