Anti TK doesn't work!!!
#3

You didn't gave us lines so we can't exactly know which line is which, should of given like:

pawn Код:
new playerid; // error line 3373
Anyways, on top of the script do:

pawn Код:
new Team_1[MAX_PLAYERS];
Since it aint defined, and if it will say the same error for Team_2 and others just do like with Team_1.

Loose indentation warning means that your code is not aligned.

Change

pawn Код:
public OnPlayerTakeDamage(playerid, damagedid, Float: amount, weaponid)
to

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
When player chooses a team, you should also always do

pawn Код:
Team_1[playerid]=1;
and all the other teams like Team_2 and so on.

I guess you should try to understand something here instead of copy pasting and trying to make it work since it won't help you to learn anything.
Reply


Messages In This Thread
Anti TK doesn't work!!! - by Djane - 10.12.2013, 09:05
Re: Anti TK doesn't work!!! - by Biesmen - 10.12.2013, 09:34
Re: Anti TK doesn't work!!! - by Astralis - 10.12.2013, 09:44

Forum Jump:


Users browsing this thread: 1 Guest(s)