[HELP] How to make checkpoint not dissapear when picked [Icognito's 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] (
/showthread.php?tid=257160)
[HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
anantanni - 24.05.2011
I have just done converting my pickup house system to checkpoints. Now the problem is that I need it to not dissapear when picked. Any help will be appreciated.
My code :
http://pastebin.com/qgDNKTfV
Thanks in advance
I know it would be really easy to do, but I'm still a newbie xD
Re: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
AK47317 - 24.05.2011
https://sampwiki.blast.hk/wiki/PickupTypes
easier to understand
Re: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
anantanni - 24.05.2011
@AK47317 : We are talking about checkpoints in Icognito's streamer. Not CreatePickup or AddStaticPickup. Read before posting.
Re: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
[DM]Kane - 24.05.2011
Check under "OnPlayerEnterDynamicCP" callback, if there is something like "DestroyDynamicCP()".
If there is, make it conditional.
Re: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
anantanni - 24.05.2011
I have never destroyed the checkpoint in the gamemode.
Also, I have not made that callback in the gamemode. Do I need it?
Re: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
[DM]Kane - 24.05.2011
You should show whats under the OnPlayerEnterDynamicCP callback.
Re: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
Kuruskt - 24.05.2011
I guess you are supposed to check under "OnPlayerEnterDynamicCP" inside streamer.inc, not your gamemode.
Re: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
AK47317 - 24.05.2011
i also use the streamer.. it almost the same but the type must be 23 to make it wont disappear READ THE WIKI. AND WIKI IS YOUR BEST FRIEND!
Re: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
[DM]Kane - 24.05.2011
Quote:
Originally Posted by anantanni
I have never destroyed the checkpoint in the gamemode.
Also, I have not made that callback in the gamemode. Do I need it?
|
I think yes.
Re: [HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer] -
Sinner - 24.05.2011
Quote:
Originally Posted by AK47317
|
This guy is right, CreateDynamicPickup also has a pickup type parameter, set it to "1" to make the pickups stay all the time.