PHP код:
C:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(1700) : warning 202: number of arguments does not match definition
C:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(1698) : warning 203: symbol is never used: "addsiren"
C:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(5448) : warning 213: tag mismatch
C:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(5715) : error 025: function heading differs from prototype
C:\Users\Austin\Desktop\Small-County-RP-Release\gamemodes\SCRP-R39.pwn(92) : warning 201: redefinition of constant/macro (symbol "E_SHOT_INFO")
C:\Users\Austin\Desktop\Small-County-RP-Release\gamemodes\SCRP-R39.pwn(1279) : warning 235: public function lacks forward declaration (symbol "OnPlayerShootPlayer")
C:\Users\Austin\Desktop\Small-County-RP-Release\gamemodes\SCRP-R39.pwn(1322) : warning 209: function "WC_OnPlayerConnect" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Error 1: E_SHOT_INFO is defined twice, check your script there will be tow of E_SHOT_INFO, remove one.
Error 2: And check where u have addsiren and delete it. U don t use it.
Error 3: tag mismatch, it means that there in your script exist a definition of a variabile or something type GLOBAL, and u use the same name for a variable in a public, stock, command etc.
Ex:
PHP код:
new x[ MAX_PLAYERS ];
public OnPlayerConnect( playerid )
{
new x[ MAX_PLAYERS ]; you defined this twice but it is already defined global, change the variable name.
.
.
bla bla
return 1;
}
Error 4: function heading differs from prototype means that you have changed the name of a prototype function like this:
PHP код:
public OnPlayerConnect( playerid )
it will be changed to OnPlayerConnect( playerid, wtf ); - that wtf it doesn't exist in the prototype of OnPlayerConnect
Error 5: public function lacks forward declaration (symbol "OnPlayerShootPlayer") make a forward for OnPlayerShootPlayer like this:
The public is:
PHP код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
return 1;
}
The forward is:
PHP код:
forward OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost);
Error 6: WC_OnPlayerConnect u forgot here return 1; at the end of the public.
I hope i helped you.. this are simple error .. u should have known them man...