There are SetDisabledKeys and GetDisabledKeys functions. Maybe fake player key press is also possible? So it would be possible to tell player to enter vehicle or do any other action from server.
|
IsPlayerControllable
Yes, I would like, it saves a lot of traffic.
And when will the release? |
Is there going to be "PlayerTextDrawSetStringf" native?
SendClientMessagef is already there, what's the issue to have the one for TextDraws? |
Hello all, i'm currently developing a script for underwater diving and such.
@ kurta999, would it be possible to manipulate the o2 ( oxygen level ) when underwater, is that something that is possible to get the memory adresse's and add it to the plugin? ) 0.o Thanks in advance. PS: BTW Awesome work on this last update ! |
[2017 | 17:18:00] ARRAY_ConsoleCommands: 8196920
Then why not remove it?
In the code there is a lot of garbage, unnecessary comments, do you like working with such code? |
https://usercontent.irccloud-cdn.com...CrLL/image.png
My server crashed after round about 1 hour, after i started using YSF. Any idea? |
[sampgdk:warning] Index mismatch for OnOutcomeScmEvent (-10011 != -10009)
[sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:33] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:34] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:35] [sampgdk:warning] Index mismatch for OnPlayerPauseStateChange (-10037 != -10035)
[14:20:35] [sampgdk:warning] Index mismatch for OnPlayerPauseStateChange (-10037 != -10035)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37]
[04:02:45] [debug] Server crashed due to an unknown error
[04:02:45] [debug] Native backtrace:
[04:02:45] [debug] #0 f66839f0 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[04:02:45] [debug] #1 f667ca62 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[04:02:45] [debug] #2 f667d764 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[04:02:45] [debug] #3 f667f6b4 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[04:02:45] [debug] #4 f668331d in ?? () from plugins/crashdetect.so
[04:02:45] [debug] #5 f77bd420 in ?? ()
[04:02:45] [debug] #6 f77bd440 in ?? ()
[04:02:45] [debug] #7 f74a9457 in gsignal () from /lib32/libc.so.6
[04:02:45] [debug] #8 f74ac7c3 in abort () from /lib32/libc.so.6
[04:02:45] [debug] #9 f76dfd6f in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/lib32/libstdc++.so.6
[04:02:45] [debug] #10 f76dd924 in ?? () from /usr/lib32/libstdc++.so.6
[04:02:45] [debug] #11 f76dd99d in ?? () from /usr/lib32/libstdc++.so.6
[04:02:45] [debug] #12 f76ddcb6 in __cxa_rethrow () from /usr/lib32/libstdc++.so.6
[04:02:45] [debug] #13 f608e0cd in _ZNSt10_HashtableItSt4pairIKtNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8durationIxSt5ratioILx1ELx1000000000EEEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toItESt4hashItENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEjjPNSD_10_Hash_nodeISB_Lb0EEE () from plugins/YSF.so
[04:02:45] [debug] #14 f608bfd9 in _ZN7CServer16OnPlayerStreamInEtt () from plugins/YSF.so
[04:02:45] [debug] #15 f6091c7a in _Z32HOOK_CGameMode__OnPlayerStreamInP9CGameModeii () from plugins/YSF.so
[04:02:45] [debug] #16 080cafb4 in ?? () from ./samp03svr
[04:02:45] [debug] #17 080cbb19 in ?? () from ./samp03svr
[04:02:45] [debug] #18 080cbe2f in ?? () from ./samp03svr
[04:02:45] [debug] #19 080cd5e4 in ?? () from ./samp03svr
[04:02:45] [debug] #20 080ac97c in ?? () from ./samp03svr
[04:02:45] [debug] #21 080aed90 in ?? () from ./samp03svr
[04:02:45] [debug] #22 080aef02 in ?? () from ./samp03svr
[04:02:45] [debug] #23 080aa13a in ?? () from ./samp03svr
[04:02:45] [debug] #24 f7494ad3 in __libc_start_main () from /lib32/libc.so.6
[04:02:45] [debug] #25 0804b4e1 in ?? () from ./samp03svr
----------
Loaded log file: "server_log.txt".
@iLearner:
Try this version. Or this: For me everything is fine. |
i suggest removing setplayerfakeping function, its being abused.
|
i suggest removing setplayerfakeping function, its being abused.
|