C:\Users\Gabriel\Downloads\ass\ass\Pawno\include\F_Streamer.inc(28) : warning 201: redefinition of constant/macro (symbol "F_MAX_OBJECTS")
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(10435) : error 025: function heading differs from prototype
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(10436) : error 021: symbol already defined: "GetPlayerSpeed"
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(65004) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
stock GetPlayerSpeed(playerid,bool:vel)
{
new Float:Vx,Float:Vy,Float:Vz,Float:rtn;
if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid),Vx,Vy,Vz); else GetPlayerVelocity(playerid,Vx,Vy,Vz);
rtn = floatsqroot(floatabs(floatpower(Vx + Vy + Vz,2)));
return vel?floatround(rtn * 100 * 1.61):floatround(rtn * 100);
}
public OnGameModeExit()
{
GameModeExitFunc();
//SalvarOrgs();
SalvarVagas();
SalvarPartidos();
KillTimer(FlashTimer);
SalvarFamilias();
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i)) { Atualizar(i); }
}
new v[6];
getdate(v[0], v[1], v[2]);
gettime(v[3], v[4], v[5]);
print("\n---------------------------------------------------------");
printf("Server Desligado: [%02d/%02d/%d %02d:%02d:%02d]", v[2], v[1], v[0], v[3], v[4], v[5]);
print("---------------------------------------------------------\n");
for(new objectid; objectid<F_MAX_OBJECTS; objectid++)
{
F_DestroyObject(objectid);
}
F_ObjectUpdate(false);
return 1;
}
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(10434) : error 025: function heading differs from prototype
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(10435) : error 021: symbol already defined: "GetPlayerSpeed"
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(65003) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
C:\Users\Gabriel\Downloads\ass\ass\Pawno\include\rLibrary.inc(233) : warning 219: local variable "Vx" shadows a variable at a preceding level
C:\Users\Gabriel\Downloads\ass\ass\Pawno\include\rLibrary.inc(233) : warning 219: local variable "Vy" shadows a variable at a preceding level
C:\Users\Gabriel\Downloads\ass\ass\Pawno\include\rLibrary.inc(233) : warning 219: local variable "Vz" shadows a variable at a preceding level
C:\Users\Gabriel\Downloads\ass\ass\Pawno\include\rLibrary.inc(233) : warning 219: local variable "rtn" shadows a variable at a preceding level
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(10435) : error 055: start of function body without function header
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(10437) : error 010: invalid function or declaration
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(10439) : error 010: invalid function or declaration
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(65003) : warning 202: number of arguments does not match definition
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(72285) : warning 203: symbol is never used: "Vx"
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(72285) : warning 203: symbol is never used: "Vy"
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(72285) : warning 203: symbol is never used: "Vz"
C:\Users\Gabriel\Downloads\ass\ass\gamemodes\a9.pwn(72285) : warning 203: symbol is never used: "rtn"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
|
exclui o #define F_MAx_objects
e deu esses erros pawn Code:
e deu esses erros pawn Code:
|
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
#pragma amxlimit 1
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Usage: pawncc <filename> [filename...] [options]
Options:
-A<num> alignment in bytes of the data segment and the stack
-a output assembler code
-C[+/-] compact encoding for output file (default=+)
-c<name> codepage name or number; e.g. 1252 for Windows Latin-1
-Dpath active directory path
-d<num> debugging level (default=-d1)
0 no symbolic information, no run-time checks
1 run-time checks, no symbolic information
2 full debug information and dynamic checking
3 same as -d2, but implies -O0
-e<name> set name of error file (quiet compile)
-H<hwnd> window handle to send a notification message on finish
-i<name> path for include files
-l create list file (preprocess only)
-o<name> set base name of (P-code) output file
-O<num> optimization level (default=-O1)
0 no optimization
1 JIT-compatible optimizations only
2 full optimizations
-p<name> set name of "prefix" file
-r[name] write cross reference report to console or to specified file
-S<num> stack/heap size in cells (default=4096)
-s<num> skip lines from the input file
-t<num> TAB indent size (in character positions, default=8)
-v<num> verbosity level; 0=quiet, 1=normal, 2=verbose (default=1)
-w<num> disable a specific warning by its number
-X<num> abstract machine size limit in bytes
-XD<num> abstract machine data/stack size limit in bytes
-\ use '\' for escape characters
-^ use '^' for escape characters
-;[+/-] require a semicolon to end each statement (default=-)
-([+/-] require parantheses for function invocation (default=-)
sym=val define constant "sym" with value "val"
sym= define constant "sym" with value 0
Options may start with a dash or a slash; the options "-d0" and "/d0" are
equivalent.
Options with a value may optionally separate the value from the option letter
with a colon (":") or an equal sign ("="). That is, the options "-d0", "-d=0"
and "-d:0" are all equivalent.
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 8000 bytes Code size: 313372 bytes Data size: 394448 bytes Stack/heap size: 16384 bytes; estimated max. usage=2048 cells (8192 bytes) Total requirements: 732204 bytes