tag mismach
#1

Errors:
PHP код:
Current directory: C:\Users\S0n1C\Desktop\My Files\UA-CNR\filterscripts
VehiclesStatus
.pwn(26) : warning 204: symbol is assigned a value that is never used: "Velocity"
VehiclesStatus.pwn(55) : warning 213: tag mismatch
VehiclesStatus
.pwn(55) : warning 213: tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c) 1997-2006, ITB CompuPhase
3 Warnings
.
================ 
READY ================ 
My Code:
PHP код:
stock GetVehicleVelocityEx(VehicleID)
{
    new 
Float:V[3];
    new 
Float:Velocity;
    
GetVehicleVelocity(VehicleID, V[0], V[1], V[2]);
    
Velocity = floatsqroot(V[0]*V[0] + V[1]*V[1] + V[2]*V[2]);
    return 
float(Velocity * 100); // Line 55
} 
Reply
#2

Код:
stock Float:GetVehicleVelocityEx(VehicleID) 
{ 
    new Float:V[3]; 
    new Float:Velocity; 
    GetVehicleVelocity(VehicleID, V[0], V[1], V[2]); 
    Velocity = floatsqroot(V[0]*V[0] + V[1]*V[1] + V[2]*V[2]); 
    return Velocity * 100;
}
could work
Reply
#3

PHP код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(
IsPlayerConnected(i))
    {
        new 
Name[24];
        
GetPlayerName(i, Name, 24);
        if(!
strcmp(Name, "Sascha", false, 6)
        {
            
Rep[i]++;
        }
    }
} 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)