Pickup teleport
#2

pawn Код:
new MyPckup;

public OnGameModeInit()
{
    MyPckup = CreatePickup(...);
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == MyPckup){
        SetPlayerPos(...);
        GivePlayerWeapon(...);
    }
    return 1;
}
hope it helps
Reply


Messages In This Thread
Pickup teleport - by wheelman_WM - 07.03.2011, 05:22
Respuesta: Pickup teleport - by TheChaoz - 07.03.2011, 05:31
Re: Respuesta: Pickup teleport - by wheelman_WM - 07.03.2011, 05:39
Respuesta: Pickup teleport - by TheChaoz - 07.03.2011, 05:41

Forum Jump:


Users browsing this thread: 1 Guest(s)