|
|
|
|
#1 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Feb 2010
Posts: 391
Reputation: 26
|
I don't know if this is a bug, or an error on my part. This did not occur in previous versions of samp, it has started happening with 0.3b
Players are getting autobanned for heat seeking missile launcher ( weapon ID 36 ) detection. I have found it occurs when they enter a vehicle, and have deduced that it may be my anti drivershooting script. under OnPlayerStateChange pawn Code:
and this is the script that autobans them ( simplified for this example ) pawn Code:
if anyone has any idea why this is happenning I would be grateful. Similarly if anyone knows a different and perhaps more efficient way to stop drivershooting. |
|
|
|
|
|
#2 |
|
Banned
![]() Join Date: Aug 2010
Posts: 800
Reputation: 58
|
just delete this function
for (new j=12; j>0; j--) { GetPlayerWeaponData(playerid,j,weapon[j],ammo); if(weapon[j] == 36) { ... ban script } or just chagne weapon id to 1000 or somethin |
|
|
|
|
|
#3 |
|
Banned
![]() Join Date: Jul 2010
Posts: 138
Reputation: 0
|
Maybe your players are actually hacking.
|
|
|
|
|
|
#4 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Feb 2010
Posts: 391
Reputation: 26
|
obviously I don't want to delete my anticheat.
|
|
|
|
|
|
#5 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Nov 2007
Posts: 425
Reputation: 2
|
Maybe you should add one more check?
Like this: Code:
if(weapon[j] == 36 && ammo) // checks if ammo != 0 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GTA SA just don't appears. | ZonReim | Client Support | 5 | 01/11/2009 04:24 PM |
| Fatal Errors, Mystery to All [HELP] | Delphinus | Help Archive | 7 | 30/06/2009 06:45 PM |
| Command only appears for ID 0 | Jakku | Help Archive | 4 | 24/05/2009 10:29 AM |
| when i will run sa-mp it appears a runtime error | mikael_greenfly | Client Support | 13 | 29/03/2009 06:23 PM |