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 213: tag mismatch
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(195) : warning 213: tag mismatch
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(207) : warning 213: tag mismatch
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(211) : warning 213: tag mismatch
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(213) : warning 213: tag 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 017: undefined 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 203: symbol is never used: "DOF2_Exit"
Error (11308-11310)
PHP код:
public OnActorDeath(actorid, killerid, reason)
{
SetActorRespawnTime(actorid, 5000);
}
Error (17642)
PHP код:
public OnFilterScriptExit()
{
return 1;
}
Error (18260)
PHP код:
stock FindClosestVehicle(playerid)
{
new
Float:x, Float:y, Float:z,
closest = -1;
for(new a = 0; a < MAX_VEHICLES; a++)
{
GetVehiclePos(a, x, y, z);
if(a != GetPlayerVehicleID(playerid) && IsPlayerInRangeOfPoint(playerid, 10.0, x, y, z))
{
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 213: tag mismatch
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(195) : warning 213: tag mismatch
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(207) : warning 213: tag mismatch
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(211) : warning 213: tag mismatch
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(213) : warning 213: tag mismatch
C:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(11313) : error 017: undefined 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 203: symbol is never used: "DOF2_Exit"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase