SA-MP Forums Archive
Error actor - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error actor (/showthread.php?tid=603801)



Error actor - kevi11 - 27.03.2016

This is the error
PHP код:
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(187) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(195) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(207) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(211) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(213) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(11308) : warning 235: public function lacks forward declaration (symbol "OnActorDeath")
C:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(11310) : error 017undefined symbol "SetActorRespawnTime"
C:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(11313) : warning 235: public function lacks forward declaration (symbol "OnPlayerTargetActor")
C:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(17702) : error 025: function heading differs from prototype
C
:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(18263) : warning 203symbol is never used"DOF2_Exit" 
Error (11308-11310)
PHP код:
public OnActorDeath(actoridkilleridreason)
{
    
SetActorRespawnTime(actorid5000);

Error (17642)
PHP код:
public OnFilterScriptExit()
{
    return 
1;

Error (18260)
PHP код:
stock FindClosestVehicle(playerid)
{
    new
        
Float:xFloat:yFloat:z,
        
closest = -1;
    for(new 
0MAX_VEHICLESa++)
    {
        
GetVehiclePos(axyz);
        if(
!= GetPlayerVehicleID(playerid) && IsPlayerInRangeOfPoint(playerid10.0xyz))
        {
            
closest a;
        }
    }
    if(
closest != -1) return closest;
    return 
INVALID_VEHICLE_ID;




Re: Error actor - Crystallize - 27.03.2016

Did you posted the wrong lines ? I see different numbers...


Re: Error actor - kevi11 - 27.03.2016

Sry i updated the lines


Re: Error actor - Crystallize - 27.03.2016

Код:
forward OnActorDeath(actorid, killerid, reason);
forward OnPlayerTargetActor(playerid, newtarget, oldtarget);
Try now.


Re: Error actor - kevi11 - 28.03.2016

PHP код:
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(187) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(195) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(207) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(211) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(213) : warning 213tag mismatch
C
:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(11313) : error 017undefined symbol "SetActorRespawnTime"
C:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(17705) : error 025: function heading differs from prototype
C
:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(18266) : warning 203symbol is never used"DOF2_Exit"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase