optimize code
#3

error


Code:
C:\Users\2\Desktop\gamemode\gamemodes\2.pwn(3075) : warning 213: tag mismatch
C:\Users\2\Desktop\gamemode\gamemodes\2.pwn(3075) : warning 213: tag mismatch
C:\Users\2\Desktop\gamemode\gamemodes\2.pwn(3075) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
PHP Code:
stock PlacaVeiculoPerto(playerid)
{
    new 
Float:distance 10.0FloatcurrentDistance 11.0vehicleid 0Pos[3];
    for(new 
iMAX_VEHICLESi++)
    {
        
GetVehiclePos(iPos[0], Pos[1], Pos[2]); //error <<<<<<<<<<<
        
currentDistance GetPlayerDistanceFromPoint(playeridPos[0], Pos[1], Pos[2]);
        if(
currentDistance <= 7.0 && currentDistance distance) {
            
vehicleid i;
            
distance currentDistance;
        }
    }
    return 
vehicleid;

Please
Reply


Messages In This Thread
optimize code - by JoshNudock - 22.06.2015, 14:21
Re: optimize code - by CoaPsyFactor - 22.06.2015, 14:32
Re: optimize code - by JoshNudock - 22.06.2015, 19:33
AW: optimize code - by Mencent - 22.06.2015, 19:34
Re: AW: optimize code - by JoshNudock - 22.06.2015, 19:38

Forum Jump:


Users browsing this thread: 1 Guest(s)