Search Results
Quote:
Originally Posted by Kalcor
I toyed with the idea of making all the server's internal structures available to the plugins. The problem is similar to the issue with memory hacking pl...
887
This brings a solution to a rather common problem we had for years.
A very common problem:
Code:
stock MyFunc() {
ObviousFeatureThatDoesNotExist();
}
stock ObviousFeatureThatDoesNotExist() {
...
911
Quote:
Originally Posted by Kar
This is how I imagined it would be. I never checked the code or tested it.. but if it isn't like this then it should be redone..
Poe's law is strong here
2,928
Quote:
Originally Posted by KingHual
wouldn't such a high refresh rate be very heavy on the server though? how hard is it on the cpu?
Medium rare
2,928
I'm sorry but this is both inefficient and laggy. Here's a much better version, although the script is private:
https://www.youtube.com/watch?v=a9AK-F7dfRY
2,928
Quote:
Originally Posted by Liberation
Is it just me, or does the OnPlayerDamage callback report knife damage as 0.0% when knifing someone in then neck and killing them? If I'm not mistake...
33,401
Don't use SetPlayerHealth in OnPlayerDamage...
33,401
Quote:
Originally Posted by Dodo9655
This include seems to cause FPS drops. I have tested both the Linux and Windows versions of SKY plugin.
Without this include and without SKY plugin I g...
33,401
@Bradley7: Yeah that's a good idea. YSI has another thing called PlayerArray.
@ball: It's more convenient, but the speed is similar.
659
Quote:
Originally Posted by FilipeSilvens
Actually it wasnt that hard. I figured it out. Now it works. But I have two issues. When I set a player's HP to 0, they don't die, any way to fix ...
33,401
Look at the documentation on GitHub. Use OnPlayerDamage.
33,401
Well, the reason you get this error is because I prevent people from accidentally using OnPlayerGiveDamage/OnPlayerTakeDamage.
Those should never be used.
Either you can remove the from YSI (ugly so...
33,401
Quote:
Originally Posted by FilipeSilvens
You want the mysql code or my whole code? I'd rather not give my whole script out.
Try updating wepon-config from GitHub.
33,401
@gensek4: I added the first fix on GitHub. Thanks! The second thing, however, is your problem. You need to update your SA-MP include files.
33,401
It doesn't even compile without weapon-config!
Something is seriously messed up with hooks in either your GM or one of the include files.
33,401
Could you PM me a zip file of the code? I need to recreate this to understand the problem.
33,401
Which compiler do you use? Zeex's or the old one?
33,401
Quote:
Originally Posted by Gammix
Synchronous OFF mode basically writes the data without any sort of backup. If your program terminates or computer shuts down unexpectedly, you will have ...
3,030
I added a new feature called dynamic variables.
Example:
pawn Код:
new Var1, Var2;// The value of DynVar will update every time Var1 or Var2 changedynamic DynVar <- (Var1, Var2) { return ...
743