C:\Users\Shum\Desktop\Server 0.3e\pawno\include\F_Streamer.inc(28) : warning 201: redefinition of constant/macro (symbol "F_MAX_OBJECTS") C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(10435) : error 025: function heading differs from prototype C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(10436) : error 021: symbol already defined: "GetPlayerSpeed" C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(65004) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
stock GetPlayerSpeed(playerid,bool:vel) //Linha 10435
{ //Linha 10436
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);
}
C:\Users\Shum\Desktop\Server 0.3e\pawno\include\F_Streamer.inc(28) : warning 201: redefinition of constant/macro (symbol "F_MAX_OBJECTS")
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(23) : error 021: symbol already defined: "NameTimer"
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(4143) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(4432) : error 017: undefined symbol "LSR_PlayerConnect"
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(10435) : error 025: function heading differs from prototype
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(10436) : error 021: symbol already defined: "GetPlayerSpeed"
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(62717) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(62767) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(62817) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(65004) : warning 202: number of arguments does not match definition
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(72287) : error 021: symbol already defined: "strtok"
C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(72302) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
10 Errors.
Retira uma das stocks do strtok, GetPlayerSpeed, NameTimer e atualiza suas includes pras do 0.3e.
E tambйm coloca isso no topo do mode: new LSR_PlayerConnect[MAX_PLAYERS]; Se dar erro tenta por new bool:LSR_PlayerConnect[MAX_PLAYERS]; Se persistir posta os erros. |
C:\Users\Shum\Desktop\Server 0.3e\pawno\include\F_Streamer.inc(28) : warning 201: redefinition of constant/macro (symbol "F_MAX_OBJECTS") C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(4146) : error 017: undefined symbol "RemovePlayerAttachedObject" C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(4435) : error 012: invalid function call, not a valid address C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(4435) : warning 215: expression has no effect C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(4435) : error 001: expected token: ";", but found ")" C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(4435) : error 029: invalid expression, assumed zero C:\Users\Shum\Downloads\gamemode brc\gamemodes\btl00.pwn(4435) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
public OnPlayerConnect(playerid)
{
if(strfind(PlayerName(playerid), "fusion", true) != -1) return CrasharPlayer(playerid);
LSR_PlayerConnect(playerid); //Linha 4435
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0);
gActivePlayers[playerid]++;
numplayers++;
forum23[playerid] = 1;
mensagetdvip = 0;
new arquivobug[256];
format(arquivobug,sizeof(arquivobug),"/Banidos/%s.ini",pNome(playerid));
if(fexist(arquivobug))
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
SendClientMessage(playerid,0xFF8000AA,"Aperte Crtl para Ligar o farol");
if (LightPwr[vehicleid] == 0)
{
new panels,doors,lights,tires;
GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires);
UpdateVehicleDamageStatus(vehicleid, panels, doors, 5, tires);
}
else
{
new panels,doors,lights,tires;
GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires);
UpdateVehicleDamageStatus(vehicleid, panels, doors, 0, tires);
}
RemovePlayerAttachedObject(playerid, 4); //Linha 4146
LSR_PlayerConnect(playerid); //Linha 4435
LSR_PlayerConnect[playerid];