Permanant checkpoints
#1

Hello.

I am currently working on a system where its a red small checkpoint infront of an ATM and if you enter the ATM a dialog pops up and you can do withdraw, deposit etc.

But the problem is I dont know how to make a permanent checkpoint, could anyone help me with this?

Thanks.
Reply
#2

Place this on under OnPlayerEnterCheckpoint:

DisablePlayerCheckpoint(playerid);
Reply
#3

Checkpoints are permanent they don't disappear, sometimes you just have to be close enough for the checkpoint to appear.

Pickups can be either permanent or disappear after they get picked up - until player dies/every few seconds/once/etc -

If you're using streamer plugin:
pawn Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
If not: https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint

But I strongly suggest that you use the streamer plugin.
Reply
#4

Quote:
Originally Posted by MattTucker
Посмотреть сообщение
Checkpoints are permanent. Pickups can be either permanent or until player dies/every few seconds/once/etc.

If you're using streamer plugin:
pawn Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
If not: https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint

But I strongly suggest that you use the streamer plugin.
My checkpoints dissapears the second someone enters them?
Reply
#5

Can you show us the code of the checkpoint that disappears and your OnPlayerEnterCheckpoint for that specific checkpoint?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)