Pickup teleport
#3

Quote:
Originally Posted by the_chaoz
Посмотреть сообщение
pawn Код:
new MyPckup;

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

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == MyPckup){
        SetPlayerPos(...);
        GivePlayerWeapon(...);
    }
    return 1;
}
hope it helps
k i am trying but what to write in
MyPickup = CreatePickup(.....)
I want add a minigun pick up at this location (1384.394, 2186.594, 11.023)
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)