Zombies with knife - 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)
+--- Thread: Zombies with knife (
/showthread.php?tid=382300)
Zombies with knife -
Blackazur - 02.10.2012
How can i add that Zombies have knife? Because when i make it with GivePlayerWeapon, my anticheat system ban the people where use knife, but with Chainsaw he got not banned.
Quote:
if(gTeam[playerid] == TEAM_ZOMBIE)
{
GivePlayerWeapon(playerid,9,1);
GivePlayerWeapon(playerid,4,1);
}
|
Re: Zombies with knife -
CmZxC - 02.10.2012
please show the "HackedGuns" code.
AW: Zombies with knife -
Blackazur - 02.10.2012
So work now, but now i have the other Problem that, Zombies get only the one Weapon, but i will that he have Chainsaw AND Knife.
Quote:
if(gTeam[playerid] == TEAM_ZOMBIE)
{
GivePlayerWeapon(playerid,9,1);
GivePlayerWeapon(playerid,4,1);
}
|
Re: Zombies with knife -
Dizzle - 02.10.2012
They cannot have chainsaw and knife cause both weapons use SLOT 1.
AW: Zombies with knife -
Blackazur - 02.10.2012
Oh, thx for the info, but how can i make that he can? I think not at all. >_>
Re: Zombies with knife -
Dizzle - 02.10.2012
I dont think its even possible...
Re: Zombies with knife -
FaceTutorialz - 02.10.2012
It is on MTA but you have to be like the BEST pawn coder in sa-mp to accually do that.
Re: Zombies with knife -
Vince - 02.10.2012
I think like: OnPlayerKeyStateChange -> scroll up = give knife, scroll down = give chainsaw. Not sure if scroll wheel can be detected by OnPlayerKeyStateChange, tho.