incognito cp problem
#1

Hello,i have a small problem with the checkpoints.I use incognito streamer and i coded a pizza job.The problem is at the last checkpoint,it doesn't destroy.I tried using "DisablePlayerCheckpoint" but doesn't work.Any tips?
Reply
#2

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Hello,i have a small problem with the checkpoints.I use incognito streamer and i coded a pizza job.The problem is at the last checkpoint,it doesn't destroy.I tried using "DisablePlayerCheckpoint" but doesn't work.Any tips?
pawn Код:
new CP_NAME_1; // declaring a global var

CP_NAME_1 = CreateDynamicCP( .. ); // creating it wherever you want CP_NAME_1 is checkpointid

DestroyDynamicCP( CP_NAME_1 ); // destroying it
It's like this. When you are using the default checkpoint system I don't think it will work with streamer functions/callbacks.

-FalconX
Reply
#3

Damn,i've 18 checkpoints for that pizza job,i've to create 18 checkpoints?

Or i can use just DestroyDynamicCp?
Reply
#4

yes you need to store the ID of each CheckPoint so you can delete them.
Reply
#5

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Damn,i've 18 checkpoints for that pizza job,i've to create 18 checkpoints?

Or i can use just DestroyDynamicCp?
The proper way is, create all the checkpoints with Streamer plugin and destroy them with streamer plugin
-FalconX
Reply
#6

Ok thanks Falconx and also Jonny5.
Reply
#7

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Ok thanks Falconx and also Jonny5.
No problem mate

-FalconX
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)