public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid){if(bodypart == 7){if(damagedid != INVALID_PLAYER_ID && IsPlayerConnected(damagedid)){TogglePlayerControllable(damagedid, false);ApplyAnimation(damagedid, \"SWEET\", \"Sweet_injuredloop\", 4.0, 1, 0, 0, 0, 0);SetPlayerArmedWeapon(damagedid, 0);SendClientMessage(damagedid, -1, \"Lábon lőttek, ezért a földre kerültél!\");}}else if(bodypart == {if(damagedid != INVALID_PLAYER_ID && IsPlayerConnected(damagedid)){TogglePlayerControllable(damagedid, false);ApplyAnimation(damagedid, \"SWEET\", \"Sweet_injuredloop\", 4.0, 1, 0, 0, 0, 0);SetPlayerArmedWeapon(damagedid, 0);SendClientMessage(damagedid, -1, \"Lábon lőttek, ezért a földre kerültél!\");}}return 1;}
C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(702) : error 017: undefined symbol \"bodypart\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(704) : error 017: undefined symbol \"damagedid\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(706) : error 017: undefined symbol \"damagedid\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(707) : error 017: undefined symbol \"damagedid\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(708) : error 017: undefined symbol \"damagedid\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(709) : error 017: undefined symbol \"damagedid\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(712) : error 017: undefined symbol \"bodypart\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(714) : error 017: undefined symbol \"damagedid\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(716) : error 017: undefined symbol \"damagedid\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(717) : error 017: undefined symbol \"damagedid\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(718) : error 017: undefined symbol \"damagedid\"C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(719) : error 017: undefined symbol \"damagedid\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 12 Errors.
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid,bodypart)
C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\gamemodes\\imp.pwn(707) : error 025: function heading differs from prototypePawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart) {if(bodypart == 7 || bodypart == {if(damagedid != INVALID_PLAYER_ID && IsPlayerConnected(damagedid)) { TogglePlayerControllable(damagedid, false); ApplyAnimation(damagedid, \"SWEET\", \"Sweet_injuredloop\", 4.0, 1, 0, 0, 0, 0); SetPlayerArmedWeapon(damagedid, 0); SendClientMessage(damagedid, -1, \"Lábon lőttek, ezért a földre kerültél!\");}}return 1;}
C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\pawno\\include\\YSI\\..\\YSI_Storage\\y_amx.inc(77) : fatal error 100: cannot read from file: \"..\\amx\\asm\"Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
C:\\Users\\Zsolti\\Desktop\\Cuccok\\GTA\\[HUN]Race Server\\pawno\\include\\YSI\\..\\YSI_Storage\\y_amx.inc(77) : fatal error 100: cannot read from file: \"..\\amx\\asm\"Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. már csak ez a hiba van nem tudom mitől haladás [gmod]Kitettem helyetted a taget![/gmod]