Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
For some reason if(GetPlayerWeapon(playerid) == 40); doesn't want to work. I have the detonator in my hands but it's not pickup up that I have it.
I have debuged in my script to see where my code stops and it is at this part.
Is there a different way to do this?
Posts: 2,593
Threads: 38
Joined: Aug 2007
Reputation:
0
That's because the detenator and C4 are desyncronized from SA-MP. I know, I tried making car bombs using detenators too =\.
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
I'm actually making plantable C4 bombs lol, pretty much the same thing. Damnit, there must be a way to do this!
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
I know bumping is bad and all, but someone must know how to do this.
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
Bumping then off to bed, Will check in the morning.
Posts: 101
Threads: 24
Joined: Nov 2008
Reputation:
0
Search for the Nuclear Bomb script and decrease if(IsPlayerInRangeOfPoint(i,YourRange,x,y,z))
Thats how I done it!
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
That isn't really what I want to know.
Posts: 493
Threads: 39
Joined: Apr 2009
Reputation:
0
D: I need to stop double posting.
I did a test with GetPlayerWeaponData, and that does pick up the detonator, so why doesn't the damn GetPlayerWeapon =/