SA-MP Forums Archive
Connect bug whit Weapon.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Connect bug whit Weapon.. (/showthread.php?tid=328701)



Connect bug whit Weapon.. - Bocky1337 - 25.03.2012

When a player enters the server and the server as I have a timer every second of queries for illegal weapons and I let the player then kicking because of the weapon, e gets a kick though he had no weapons.

the running time here.

First Server has a timer which all sekunde querying whether the player has banned weapons.
Second if the player has banned weapons -> Kick player
Third Players Connection. and kicking. although he has no weapons.

is this a bug or is this intentional so that you have weapons when you first connect?

sry vor my bad English.


Re: Connect bug whit Weapon.. - Rac3r - 25.03.2012

I'm always seem to reply to these reports lol

Avoid using GetPlayerWeapon while the player isn't spawned (connecting, died, selecting skin).


Re: Connect bug whit Weapon.. - Da' J' - 26.03.2012

GetPlayerArmedWeapon would do it?