Playerid
#1

Hello there.
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;
}
And this is that erorr
Код:
C:\Documents and Settings\Medion\Desktop\Country life\GTARP\gamemodes\gtarp.pwn(44488) : error 017: undefined symbol "playerid"
Reply


Messages In This Thread
Playerid - by Alex.Cone - 08.02.2012, 10:01
Re: Playerid - by DutchApproach - 08.02.2012, 10:32
Re : Playerid - by ricardo178 - 08.02.2012, 10:39
Re: Playerid - by SVRP - 08.02.2012, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)