Variables.
#1

Hello everyone!

Have a question... s0b.eit have a funcion which disables all car data and when all variables are disabled. So with HOME (button) you can go into car and for example destroy vehicle, or do something. The strange thing is that only cheater seeing that he droves the car, others players doesn't see it (they see that the cheater is near car, but not into the car). And... this is my enemy, because cheaters coming and destroying players cars... I can't do anything, because everything is not working like if's or something. Is there any possibility to do something about it? Is SA:MP can do something? Thank ya all for answer, don't expect much, but if you know, please let me know.
Reply
#2

Check whether OnVehicleDeath is called.
Reply
#3

I was thinking about this... But who check? I can't detect if someone is in the vehicle (tested) and so on... : D so basiclly i don't have what to check.
Reply
#4

Quote:
Originally Posted by Tomejus
Посмотреть сообщение
I was thinking about this... But who check? I can't detect if someone is in the vehicle (tested) and so on... : D so basiclly i don't have what to check.
pawn Код:
printf("CALLED");
Just to see if it gets called.
You can do:
GetPlayerState(playerid) under OnVehicleDeath. Though I'm not sure that will work.

What does GetPlayerVehicleID say?
Reply
#5

Try'd by state, doesn't work, because how i was said only cheaters see that they are in car other players seeing that player is right next for player (i mean standing near the car). You can run vehicle engine (because my script requires PLAYER_STATE_DRIVER) cheater gets message that he's not the driver, so state doesn't work either. I was searching for solution like a half year, but doesn't found... and it' seems to continue. I may post a video later and you see how it looks.

It seems that SA:MP cannot do anything in this case, it's really sad... It makes no sense for playin SA:MP then cheaters can do everything they want...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)