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...
262
This brings a solution to a rather common problem we had for years.
A very common problem:
Code:
stock MyFunc() {
ObviousFeatureThatDoesNotExist();
}
stock ObviousFeatureThatDoesNotExist() {
...
496
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
1,221
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
1,221
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
1,221
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...
14,035
Don't use SetPlayerHealth in OnPlayerDamage...
14,035
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...
14,035
@Bradley7: Yeah that's a good idea. YSI has another thing called PlayerArray.
@ball: It's more convenient, but the speed is similar.
324
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 ...
14,035
Look at the documentation on GitHub. Use OnPlayerDamage.
14,035
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...
14,035
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.
14,035
@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.
14,035
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.
14,035
Could you PM me a zip file of the code? I need to recreate this to understand the problem.
14,035
Which compiler do you use? Zeex's or the old one?
14,035
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 ...
933
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 ...
314