Zombies with knife
#1

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);
}

Reply
#2

please show the "HackedGuns" code.
Reply
#3

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);
}

Reply
#4

They cannot have chainsaw and knife cause both weapons use SLOT 1.
Reply
#5

Oh, thx for the info, but how can i make that he can? I think not at all. >_>
Reply
#6

I dont think its even possible...
Reply
#7

It is on MTA but you have to be like the BEST pawn coder in sa-mp to accually do that.
Reply
#8

I think like: OnPlayerKeyStateChange -> scroll up = give knife, scroll down = give chainsaw. Not sure if scroll wheel can be detected by OnPlayerKeyStateChange, tho.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)