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
#2

you must have another filterscript running that uses onplayerpickup
If so, disable that one and see what happens
Reply
#3

i think you you need delete somthing from Filterscript, gl_property if you have this Delete and test again.
Reply
#4

Quote:
Originally Posted by AIped
Посмотреть сообщение
you must have another filterscript running that uses onplayerpickup
If so, disable that one and see what happens
Quote:
Originally Posted by ScRipTeRi
Посмотреть сообщение
i think you you need delete somthing from Filterscript, gl_property if you have this Delete and test again.
Thanks guys, repped both

EDIT: repped too much in past 24h soz
Reply
#5

not problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)