Small problem
#1

Hi all, when i want to define KillVehicle :
pawn Код:
if ( KillVehicle[ C_DATA[ i ][ HouseCar ] ] == true )
As this definition:
pawn Код:
function KillVehicle( vehicleid, checkplayer )
{
    if ( checkplayer == 0 )
    {
        DestroyVehicle( vehicleid );
        KillTimer( Timer[ vehicleid ] );
    }
    else
    {
        foreach(Player, i ) if ( !IsPlayerInVehicle( i, vehicleid ) )
        {
            DestroyVehicle( vehicleid );
            KillTimer( Timer[ vehicleid ] );
        }
    }
    return 1;
}
It also says:
pawn Код:
(4520) : error 017: undefined symbol "KillVehicle"
(4520) : warning 215: expression has no effect
(4520) : error 001: expected token: ";", but found "]"
(4520) : error 029: invalid expression, assumed zero
(4520) : fatal error 107: too many error messages on one line
Whyy I have defined, but it says ,,UNDEFINITION SYMBOL,,
HELP ME
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)