02.11.2014, 16:53
Hello I am an anti-kill-team me and make mistakes
Код HTML:
forward OnPlayerTakeDamage(playerid); public OnPlayerTakeDamage(playerid, damagedid, Float: amount, weaponid) { new Float:HP; GetPlayerHealth(damagedid, HP); if(TEAM_AT[playerid] == 1 && TEAM_AT[damagedid] == 1) { SetPlayerHealth(damagedid, HP-0); } if(TEAM_TERRO[playerid] == 1 && TEAM_TERRO[damagedid] == 1) { SetPlayerHealth(damagedid, HP-0); } return 1; }
Код HTML:
C:\Users\Yamaha\Desktop\Counter Strike samp 0.3z\gamemodes\css.pwn(1700) : error 025: function heading differs from prototype C:\Users\Yamaha\Desktop\Counter Strike samp 0.3z\gamemodes\css.pwn(1704) : error 029: invalid expression, assumed zero C:\Users\Yamaha\Desktop\Counter Strike samp 0.3z\gamemodes\css.pwn(1704) : error 029: invalid expression, assumed zero C:\Users\Yamaha\Desktop\Counter Strike samp 0.3z\gamemodes\css.pwn(1704) : warning 215: expression has no effect C:\Users\Yamaha\Desktop\Counter Strike samp 0.3z\gamemodes\css.pwn(1704) : error 001: expected token: ";", but found "]" C:\Users\Yamaha\Desktop\Counter Strike samp 0.3z\gamemodes\css.pwn(1704) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.