TogglePlayerControllable
#1

Hello.

I've been having a little trouble with TogglePlayerControllable; what I was aiming for was to use this command in order to freeze a player in order to test for bulletproof hacks. However, I'm having slight problems with it as for some reason, once TogglePlayerControllable is disabled, the player also becomes invincible too.

Is there any way to remove this invincibility? I've looked all over the forum and I can't seem to find anything that helps me.
Reply
#2

Can you share the code snippet, make it easier for us to help you out.
Reply
#3

AFAIK theres no way to toggle invincibility on/off for TogglePlayerControllable.
Reply
#4

You're probably changing the players virtual world, look for:
PHP код:
SetPlayerVirtualWorld 
remove it if you can find it.
Reply
#5

*REMOVED*

Here's the code, the timer is used to enable player controllable.
Reply
#6

Remove SetPlayerInterior
Reply
#7

Quote:
Originally Posted by whooper
Посмотреть сообщение
AFAIK theres no way to toggle invincibility on/off for TogglePlayerControllable.
Bullshit. It is possible to make your own custom damage system.

https://sampforum.blast.hk/showthread.php?tid=563387
Reply
#8

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Bullshit. It is possible to make your own custom damage system.

https://sampforum.blast.hk/showthread.php?tid=563387
Gotcha. Bit out of touch on this side of things. Just trying to help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)