[Ajuda] error 025: function heading differs from prototype e error 021: symbol already defined: "GetPlayerSpeed"
#1

Код:
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.
Aparecem esses erros no meu GM, quando fui dar uma atualizada nele...

Linhas:
pawn Код:
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);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)