i need help please..
#1

hello, i need a help please... i dont know how to fix this

pawn Код:
if(!IsPlayerInRangeOfVehicle(playerid)vehicleid)> = 7.5;
        else LockStatus(vehicleid)> = 1) // G-bugging fix

        ClearAnimations(playerid);
    }
    return 1;

pawn Код:
D:\Game\Rockstar Game\Server\GOGS\gamemodes\X.pwn(759) : warning 215: expression has no effect
D:\Game\Rockstar Game\Server\GOGS\gamemodes\X.pwn(6818) : error 001: expected token: ")", but found "-identifier-"
D:\Game\Rockstar Game\Server\GOGS\gamemodes\X.pwn(6818) : warning 215: expression has no effect
D:\Game\Rockstar Game\Server\GOGS\gamemodes\X.pwn(6818) : error 001: expected token: ";", but found ")"
D:\Game\Rockstar Game\Server\GOGS\gamemodes\X.pwn(6818) : error 029: invalid expression, assumed zero
D:\Game\Rockstar Game\Server\GOGS\gamemodes\X.pwn(6818) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
please help me...
Reply
#2

show us full code
Reply
#3

only that.. problem is on that line..
Reply
#4

try this :
pawn Код:
if(!IsPlayerInRangeOfVehicle(playerid)vehicleid)> = 7.5;
        else LockStatus(vehicleid) >= 1) // G-bugging fix

        ClearAnimations(playerid);
    }
    return 1;
Reply
#5

Still error sir...
Reply
#6

Try this.

If it doesn't work.

Post the IsPlayerInRangeOfVehicle function
pawn Код:
if(!IsPlayerInRangeOfVehicle(playerid,vehicleid) >= 7.5)
        else LockStatus(vehicleid) >= 1) // G-bugging fix

        ClearAnimations(playerid);
    }
    return 1;
Reply
#7

Post your stock though, show it if the error is still coming.
Try (I'm 99% sure it will not work):
pawn Код:
if(!IsPlayerInRangeOfVehicle(playerid, vehicleid, 7.5)
{
        if(LockStatus(vehicleid)> = 1) // G-bugging fix
        {
        ClearAnimations(playerid);
    }
    return 1;
}
Reply
#8

I assume the else below is for vehicles are in range so:
pawn Код:
if(IsPlayerInRangeOfVehicle(playerid, vehicleid, 7.5))
{
    if(LockStatus(vehicleid) >= 1) // G-bugging fix
    {
        ClearAnimations(playerid);
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)