How you create pickups checkpoints?
#1

How can i make ths kind of checkpoints as pickups ? i never tried before to use a checkpoint as pickup


Reply
#2

U can do:

Код:
YourCP = CreateDynamicCP(-895.0860,2002.6703,60.9141, 3.0, -1, -1, -1, 100.0);
And then:

Код:
forward OnPlayerEnterDynamicCP(playerid, checkpointid);
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    if(checkpointid == YourCP)
    {
         // Your code
    }
    return 1;
}
It uses the Streamer plugin: https://sampforum.blast.hk/showthread.php?tid=102865
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)