PickUp Problem
#1

i created a pickup but when i stand in it nothing happens from what i have written shall happen


pawn Код:
new pbdm;
pawn Код:
//under OnGameModeInit
pbdm = AddStaticPickup(1313,1,-1881.514892, 823.235290, 35.176628, 0);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == pbdm)
    {
    SetPlayerPos(playerid,58.0719,1551.2244,12.7500);
    return 1;
    }
    return 1;
}
please help
Reply


Messages In This Thread
PickUp Problem - by CROSS_Hunter - 08.08.2012, 13:33
Re: PickUp Problem - by Cjgogo - 08.08.2012, 13:35
Re: PickUp Problem - by CROSS_Hunter - 08.08.2012, 13:39
Respuesta: PickUp Problem - by [DOG]irinel1996 - 08.08.2012, 13:40

Forum Jump:


Users browsing this thread: 2 Guest(s)