[HELP] How to make checkpoint not dissapear when picked [Icognito's Streamer]
#1

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
Reply
#2

https://sampwiki.blast.hk/wiki/PickupTypes
easier to understand
Reply
#3

@AK47317 : We are talking about checkpoints in Icognito's streamer. Not CreatePickup or AddStaticPickup. Read before posting.
Reply
#4

Check under "OnPlayerEnterDynamicCP" callback, if there is something like "DestroyDynamicCP()".
If there is, make it conditional.
Reply
#5

I have never destroyed the checkpoint in the gamemode.
Also, I have not made that callback in the gamemode. Do I need it?
Reply
#6

You should show whats under the OnPlayerEnterDynamicCP callback.
Reply
#7

I guess you are supposed to check under "OnPlayerEnterDynamicCP" inside streamer.inc, not your gamemode.
Reply
#8

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!
Reply
#9

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.
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)