Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
Doesn't work. Someone said it's because the detonator is desyncd.
Is there any other way of check if a player has a detonator in their hands?
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
I've done some tests and GetPlayerWeaponData does get the Detonator, but is there any way of using that like GetPlayerWeapon?
if(GetPlayerWeapon(playerid) == 40)
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
Bump, really stuck with this. There must be someone out there who knows a way to do this.
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
Bimp, someone has got to know a way.
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
I don't like to bump and double post like this but I am really stuck on this.
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
I'm making A c4 script, you plant a bomb, get a detonator then you detonate the bomb with the detonator. Everything is done and working except for the detonator part.
GetPlayerWeapon(playerid) == 40 does not work as the detonator is desync (That was what I was told). I need the bomb to only explode when you shot if you are holding a detonator.
Posts: 466
Threads: 61
Joined: Dec 2008
Reputation:
0
Just detonate with a command?
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
That isn't as cool though =/