Bug GetPlayerSpecialAction? And Add OnPlayerPutPlayerInVehicle?
#1

I don't know if it's an bug but not appear on 0.3z

I have a problem with the function GetPlayerSpecialAction to detect when an player crouching On the callback OnPlayerKeyStateChange, i use OnPlayerUpdate to detect it but OnPlayerUpdate use too much resource i think

ps: More explanation on this topic: https://sampforum.blast.hk/showthread.php?tid=192662

And if it's possible to add this callback "OnPlayerPutPlayerInVehicle" for don't use OnPlayerUpdate for some cheat (TP multi vehicule and other...) Thanks
Reply
#2

What would exactly call "OnPlayerPutPlayerInVehicle"? There's no way a player can "put" another player in a vehicle...
(Yes, i know you can have a command for that but that doesn't mean it's the player who puts the other player into the vehicle)
Reply
#3

Quote:
Originally Posted by HitnKill
Посмотреть сообщение
I don't know if it's an bug but not appear on 0.3z

I have a problem with the function GetPlayerSpecialAction to detect when an player crouching On the callback OnPlayerKeyStateChange, i use OnPlayerUpdate to detect it but OnPlayerUpdate use too much resource i think

ps: More explanation on this topic: https://sampforum.blast.hk/showthread.php?tid=192662

And if it's possible to add this callback "OnPlayerPutPlayerInVehicle" for don't use OnPlayerUpdate for some cheat (TP multi vehicule and other...) Thanks
I'm not 100% sure what you mean by "OnPlayerPutPlayerInVehicle", but I think you are saying when a player enters a vehicle, if that is what you mean then you can use OnPlayerEnterVehicle.

Also: This isn't really a bug with "GetPlayerSpecialAction", that function is working as intended here.
Reply
#4

Quote:
Originally Posted by [FSaF]Jarno
Посмотреть сообщение
What would exactly call "OnPlayerPutPlayerInVehicle"? There's no way a player can "put" another player in a vehicle...
(Yes, i know you can have a command for that but that doesn't mean it's the player who puts the other player into the vehicle)
"OnPlayerPutInVehicle" it's better, because certainly cheat put the cheaters in lot of vehicle on 1 second example for TP vehicule on the cheater i think for SYNC the vehicule.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)