2019-05-26, 01:14 PM
(2019-05-20, 10:36 PM)rEf Wrote: https://pastebin.com/zzbzynuK
I have to agree this is written better, it has less code, it's clean and doesn't waste performance.
It also doesn't throw any forced messages.
I would prefer that it called some function before kicking, like a `CallRemoteFunction` for `OnPlayerKicked(const playerid, const reason[]);` (this should be the default callback for any library to call for kicking, no need to make it overly complicated, also if the return value was 0 you would not kick the person and if it was 1 you would)
Simple things, that can make a huge difference to development.
Remember to always refer to J0sh as `J0sh...`
# Services/Platforms
forum.open.mp (Forum Manager)
open.mp (Member)
Pawn Playground (Creator/Maintainer)
Pawn Packages (Creator/Maintainer)
# Services/Platforms
forum.open.mp (Forum Manager)
open.mp (Member)
Pawn Playground (Creator/Maintainer)
Pawn Packages (Creator/Maintainer)


