pawn-lang / samp-stdlib

The San Andreas Multiplayer Pawn Standard Library Package - designed for the sampctl package management system.
http://sampctl.com
48 stars 30 forks source link

missing natives and callbacks #5

Closed YashasSamaga closed 5 years ago

YashasSamaga commented 6 years ago

There are few natives and callbacks which are missing in the includes of SAMP server package. Here are few (if not all) of the missing natives and callbacks:

Missing Natives:

Missing Callbacks:

I am not sure if it is safe to include some of these natives and callbacks. They could have been intentionally omitted from the includes so that people don't get to see them. They could be deprecated in a future version or even completely removed as it was not a part of the official SAMP includes set. Moreover, there's a lot of rumors about some of those natives and callbacks.

Southclaws commented 6 years ago

As mentioned in #3, I've considered using branches to preserve the original libraries so we can make useful changes to the originals such as these. It would be so useful to finally have these things declared where they should be!

As far as I know, IsValidVehicle was just an oversight, SendClientCheck and gpci were intended to be "secret" but basically everyone knows about them so it's pointless to hide them. Same with OnClientCheckResponse but I'm not sure about OnScriptCash (is that meant to be OnScriptCrash?)

YashasSamaga commented 6 years ago

It's OnScriptCash.

[0:07:33] \<Kye> it doesn't do anything currently [0:11:50] \<Kye> it's meant to show money increases from the GTA SA scm [0:11:54] \<Kye> like ammunation, casino

It could still be broken.

Southclaws commented 6 years ago

Ah, that actually would be so useful, it's unfortunate that it doesn't work...