Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dynamic Checkpoints are behaving weirdly #444

Open
axmfs opened this issue Jan 15, 2023 · 4 comments
Open

Dynamic Checkpoints are behaving weirdly #444

axmfs opened this issue Jan 15, 2023 · 4 comments

Comments

@axmfs
Copy link

axmfs commented Jan 15, 2023

dynamic CPs weren't calling OnPlayerEnterDynamicCP, so I added

public OnPlayerEnterCheckpoint(playerid)
{
    return 1;
}

to my gamemodes main module and now OnPlayerEnterDynamicCP works fine.
I'm using v2.9.6 from open.mp branch.

@Victe221
Copy link

Victe221 commented Jan 16, 2023

Confirmed too. I went back to 2.9.5 something is wrong with 2.9.6 :

*** Streamer Plugin: The plugin version (0x295) is older than the include file version (0x296) for this script. The plugin might need to be updated to the latest version.

Next OnPlayerEnterDynamicCP

And GetDynamicActorVirtualWorld

@AmyrAhmady
Copy link
Collaborator

Please try it with an empty script first, and try it on both samp / open.mp

@axmfs
Copy link
Author

axmfs commented Feb 7, 2023

On SAMP it works fine, but on open.mp I had to do the OnPlayerEnterCheckpoint workaround

@plakapenka
Copy link

I join

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants