06.11.2014, 18:16
Hello I'm working on a system so that when you pull a player of his team nothing happens how do I get errors
Код HTML:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid) { new Float:HP; GetPlayerHealth(playerid, HP); if(TEAM_AT[playerid] == 1 && TEAM_AT[playerid] == 1) { SetPlayerHealth(playerid, HP-0); } if(TEAM_TERRO[playerid] == 2 && TEAM_TERRO[playerid] == 2) { SetPlayerHealth(playerid, HP-0); } return 1; }
Код HTML:
C:\Users\JAIED\Desktop\z\gamemodes\s.pwn(2015) : error 029: invalid expression, assumed zero C:\Users\JAIED\Desktop\z\gamemodes\s.pwn(2015) : error 029: invalid expression, assumed zero C:\Users\JAIED\Desktop\z\gamemodes\s.pwn(2015) : warning 215: expression has no effect C:\Users\JAIED\Desktop\z\gamemodes\s.pwn(2015) : error 001: expected token: ";", but found "]" C:\Users\JAIED\Desktop\z\gamemodes\s.pwn(2015) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.