OnPlayerPickupPickup
#1

Hey, I've a small problem with OnPlayerPickupPickup.

Here's how it's all defined.

pawn Код:
new test; // Top of the script

        CreatePickup(1240, 1, 1936.2499,-2336.8120,13.5469, 0); // OnPlayerConnect
    Create3DTextLabel("Test", COLOR_PURPLE, 1936.2499,-2336.8120,14.000, 30.0, 0, 0); //OnPlayerConnect


public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == test)
    {
    SetPlayerPos(playerid, 1528.9799,-889.8781,61.1224);
    SendClientMessage(playerid, COLOR_PURPLE, "Test");
    return 1;
    }
    return 1;
}
The compiler compiles it all without any warning or error messages, and still in-game this is what I get..



Thanks ahead..
Reply


Messages In This Thread
OnPlayerPickupPickup - by CLT - 28.06.2013, 08:40
Re: OnPlayerPickupPickup - by AIped - 28.06.2013, 08:43
Re: OnPlayerPickupPickup - by ScRipTeRi - 28.06.2013, 08:46
Re: OnPlayerPickupPickup - by CLT - 28.06.2013, 08:54
Re: OnPlayerPickupPickup - by ScRipTeRi - 28.06.2013, 08:56

Forum Jump:


Users browsing this thread: 1 Guest(s)