SA-MP Forums Archive
Can I use SetPlayerCheckpoint with incognitos streamer? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can I use SetPlayerCheckpoint with incognitos streamer? (/showthread.php?tid=313245)



Can I use SetPlayerCheckpoint with incognitos streamer? - Azzeto - 25.01.2012

Hey, I'm using incognito's streamer for my sa-mp server.. but can I also use SetPlayerCheckpoint? Or how would I use Incognitos streamer to create a checkpoint.. make it invisible when a player connects.. and show when a player enters it, then make it invisible again.. and to make it do the crap after they enter it?


Re: Can I use SetPlayerCheckpoint with incognitos streamer? - MSI - 25.01.2012

You can use a checkpoint streamer if u want more checkpoints than one,


Re: Can I use SetPlayerCheckpoint with incognitos streamer? - MP2 - 25.01.2012

Quote:
Originally Posted by MSI
Посмотреть сообщение
You can use a checkpoint streamer if u want more checkpoints than one,
Don't post if you have no idea what you are talking about, because not only do you make yourself look stupid, but you're also giving false facts, which could potentially be disastrous.

I don't believe you can, Azzeto. There is no GetPlayerCheckpoint so the streamer has no way of knowing whether you already have one set, but Incognito's streamer has the function TogglePlayerAllDynamicCPs(playerid, toggle), which, I presume, disables checkpoint streaming to allow native checkpoints to be set. Not 100% sure however.


Re: Can I use SetPlayerCheckpoint with incognitos streamer? - Azzeto - 25.01.2012

I was just wondering because I use incongitos streamer to have more then 1 checkpoint set at a time (For door entrances/exits and other stuff) but for my trucking minigame it just seemed more simple to use SetPlayerCheckpoint and DisablePlayerCheckpoint, but when I enter the checkpoint it doesn't Disable, and everything I have set for the checkpoint doesn't happen,.


Re: Can I use SetPlayerCheckpoint with incognitos streamer? - MP2 - 25.01.2012

Read my post.


Re: Can I use SetPlayerCheckpoint with incognitos streamer? - Azzeto - 25.01.2012

I know, i'v read your post, but does TogglePlayerCheckpoint does that like, 'disable' it, then when A player starts a trucking route, I toggle it so it's visible for the player, then when he enters it I toggle it so it's invisible again? and toggle the next checkpoint for the player?