Help in checkpoint
#1

pawn Код:
#include <a_samp>

#if defined FILTERSCRIPT

new Hpickup;

public OnGameModeInit()
{
    Hpickup = CreatePickup(1318, 1, 1172.0773,-1323.4209,15.4032, -1);
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Hpickup)
    {
        SetPlayerPos(playerid,-1323.4209,15.4032,89.4566);
        return 1;
    }
    return 1;
}

#endif
Basically im trying to do a pickup to get in an interior but it ain't working and im not seeing the pickup when i tets it in the test server, can someone help me figure things out please or maybe a small code as an example so i can take a look and make it right please and thank you for reading
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)