GetPlayerWeapon - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetPlayerWeapon (
/showthread.php?tid=168310)
GetPlayerWeapon -
FireCat - 15.08.2010
hi, i want like my anti cheat i done just found a hacker but i dont know how can i like when it ban's him it say ... with weapon.. ex: console found nameofplayer with weapon weaponname i know how to get the playername but i dont know how to make it appear with weapon, any clues?
Re: GetPlayerWeapon -
Jonni8 - 15.08.2010
Show us your code please
Re: GetPlayerWeapon -
FireCat - 15.08.2010
hell no ul steal it
Re: GetPlayerWeapon -
gamer931215 - 16.08.2010
Quote:
Originally Posted by FireCat
hell no ul steal it
|
Wow... that was fun.
Re: GetPlayerWeapon -
DRIFT_HUNTER - 16.08.2010
well when you ban player you get his weapon and name store it and format string then send string as client message
And if you dont show us the code do not expect any help cos we CAN NOT HELP YOU WITHOUT CODE!
Re: GetPlayerWeapon -
DiddyBop - 16.08.2010
Quote:
Originally Posted by FireCat
hell no ul steal it
|
ROFL
pawn Код:
if(GetPlayerWeapon(playerid, 38) return Ban(playerid);
AMIGAWD DID I JUST EXPOSE YER CODE?
Re: GetPlayerWeapon -
PotH3Ad - 16.08.2010
Quote:
Originally Posted by LilGunna
ROFL
pawn Код:
if(GetPlayerWeapon(playerid, 38) return Ban(playerid);
AMIGAWD DID I JUST EXPOSE YER CODE?
|
Double fail, that code is incorrect...
Re: GetPlayerWeapon -
DiddyBop - 16.08.2010
Quote:
Originally Posted by PotH3Ad
Double fail, that code is incorrect...
|
shh he doesn't know that >_>
if it makes you feel better..
pawn Код:
if(GetPlayerWeapon(playerid) == 38) Ban(playerid);
Re: GetPlayerWeapon -
Nero_3D - 16.08.2010
And if FireCat still didnt found out, use
GetWeaponName