10.12.2013, 09:44
You didn't gave us lines so we can't exactly know which line is which, should of given like:
Anyways, on top of the script do:
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
to
When player chooses a team, you should also always do
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.
pawn Код:
new playerid; // error line 3373
pawn Код:
new Team_1[MAX_PLAYERS];
Loose indentation warning means that your code is not aligned.
Change
pawn Код:
public OnPlayerTakeDamage(playerid, damagedid, Float: amount, weaponid)
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
pawn Код:
Team_1[playerid]=1;
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.