08.02.2012, 10:01
Hello there.
I have this errors on this lines :
And this is that erorr
I have this errors on this lines :
Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
if(IsACop(playerid))//On this line is error
{
if(GetPlayerWeapon(Shooter) == 23)
{
TogglePlayerControllable(Target, false);
ApplyAnimation(Target,"CRACK","crckdeth2",4.1,1,1,1,1,1);
pTazed[Target] = 1;
SetTimerEx("Tazed", 10000, 0, "d", Target);
SendClientMessage(Target, 0xFF0000FF, "You've been tazed for 10 seconds!");
}
}
return 1;
}
Код:
C:\Documents and Settings\Medion\Desktop\Country life\GTARP\gamemodes\gtarp.pwn(44488) : error 017: undefined symbol "playerid"

