28.06.2013, 01:57
I Have This Eror
and this is my script
Thanks Before
pawn Код:
C:\DOCUME~1\user\Desktop\Server\PARADI~1\FILTER~1\HitSound.pwn(53) : error 017: undefined symbol "amount"
C:\DOCUME~1\user\Desktop\Server\PARADI~1\FILTER~1\HitSound.pwn(54) : error 017: undefined symbol "playerid"
C:\DOCUME~1\user\Desktop\Server\PARADI~1\FILTER~1\HitSound.pwn(55) : error 017: undefined symbol "playerid"
C:\DOCUME~1\user\Desktop\Server\PARADI~1\FILTER~1\HitSound.pwn(56) : error 017: undefined symbol "playerid"
C:\DOCUME~1\user\Desktop\Server\PARADI~1\FILTER~1\HitSound.pwn(57) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
pawn Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
new s[20];
format(s, 20, "+Damage %.0f", amount);
TextDrawSetString(GiveDamage[playerid], s);
TextDrawShowForPlayer(playerid, GiveDamage[playerid]);
PlayerPlaySound(playerid,17802,0.0,0.0,0.0);
SetTimerEx("DestruirTextoDraw", 1000, false, "i", playerid);
return 1;
}