help errors - 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: help errors (
/showthread.php?tid=603695)
help errors -
kevi11 - 26.03.2016
PHP код:
C:\Users\Kevin11\Desktop\Server\pawno\include\ActorStreamer.inc(76) : error 021: symbol already defined: "S@@_OnFilterScriptExit"
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(1538) : error 021: symbol already defined: "SSCANF_OnFilterScriptInit"
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(11312) : warning 235: public function lacks forward declaration (symbol "OnPlayerTargetActor")
C:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(17642) : error 021: symbol already defined: "AS_OnFilterScriptExit"
C:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(17699) : error 025: function heading differs from prototype
C:\Users\Kevin11\Desktop\Server\gamemodes\RCRP.pwn(18260) : warning 203: symbol is never used: "DOF2_Exit"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
pls help me to resolve
Re: help errors -
Joron - 26.03.2016
Forward:
PHP код:
OnActorDeath
OnPlayerTargetActor
Ugh just post the code ill fix it for you.
Re: help errors -
kevi11 - 26.03.2016
Error (76)
PHP код:
#define SPRAYTAG_MENU (9800)
Error (187)
PHP код:
#define compramunizioni 9991
Error (195)
PHP код:
#define L_TIMER 60000 // timer prima di rialzarsi: 1 minuto
Error (207)
PHP код:
new ActorCluckin;
Error (211)
PHP код:
#pragma unused ActorCassaEle
Error (213)
PHP код:
#pragma unused ActorBarman
Error (153
PHP код:
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("North Santos City Roleplay ~PrimaGenesi");
print("--------------------------------------\n");
return 1;
}
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: help errors -
kevi11 - 26.03.2016
Error (76)
PHP код:
#define SPRAYTAG_MENU (9800)
Error (187)
PHP код:
#define compramunizioni 9991
Error (195)
PHP код:
#define L_TIMER 60000 // timer prima di rialzarsi: 1 minuto
Error (207)
PHP код:
new ActorCluckin;
Error (211)
PHP код:
#pragma unused ActorCassaEle
Error (213)
PHP код:
#pragma unused ActorBarman
Error (153
PHP код:
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("North Santos City Roleplay ~PrimaGenesi");
print("--------------------------------------\n");
return 1;
}
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;
}