tag mismach
#1

Errors:
PHP код:
Current directoryC:\Users\S0n1C\Desktop\My Files\UA-CNR\filterscripts
VehiclesStatus
.pwn(26) : warning 204symbol is assigned a value that is never used"Velocity"
VehiclesStatus.pwn(55) : warning 213tag mismatch
VehiclesStatus
.pwn(55) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
3 Warnings
.
================ 
READY ================ 
My Code:
PHP код:
stock GetVehicleVelocityEx(VehicleID)
{
    new 
Float:V[3];
    new 
Float:Velocity;
    
GetVehicleVelocity(VehicleIDV[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 0MAX_PLAYERSi++)
{
    if(
IsPlayerConnected(i))
    {
        new 
Name[24];
        
GetPlayerName(iName24);
        if(!
strcmp(Name"Sascha"false6)
        {
            
Rep[i]++;
        }
    }

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)