Can someone explain me?
#1

Hi,
Can someone explain me streamer checkpoint

CreatePlayerDynamicCP and OnPlayerEnterDynamicCP

in CreatePlayerDynamicCP there is nothing about checkpointid
but OnPlayerEnterDynamicCP here is if(checkpointid)
Reply
#2

Which streamer are you referring to? Icognito's doesn't have that CreatePlayerDynamicCP function you're talking about.
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=248712

The checkpointid is the variabile that you insert checkpoint into.

And you can check like
PHP код:
myCP CreateDynamicCP(...);
if (
checkpointid == myCP)
//Do stuff 
Reply
#4

Quote:
Originally Posted by Banditul18
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=248712

The checkpointid is the variabile that you insert checkpoint into.

And you can check like
PHP код:
myCP CreateDynamicCP(...);
if (
checkpointid == myCP)
//Do stuff 
Thanks

Quote:
Originally Posted by Troydere
Посмотреть сообщение
Which streamer are you referring to? Icognito's doesn't have that CreatePlayerDynamicCP function you're talking about.
It have
https://sampforum.blast.hk/showthread.php?tid=102865
https://github.com/samp-incognito/sa...s-(Checkpoints)
Reply
#5

It doesn't have any function called 'CreatePlayerDynamicCP', it's only 'CreateDynamicCP'...
Reply
#6

Quote:
Originally Posted by Banditul18
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=248712

The checkpointid is the variabile that you insert checkpoint into.

And you can check like
PHP код:
myCP CreateDynamicCP(...);
if (
checkpointid == myCP)
//Do stuff 
Function CreateDynamicCP(); returns "checkpointid" as an integer to variable you have specified.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)