i need help please.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: i need help please.. (
/showthread.php?tid=468223)
i need help please.. -
warlord321 - 07.10.2013
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...
Re: i need help please.. -
Jankingston - 07.10.2013
show us full code
Re: i need help please.. -
warlord321 - 07.10.2013
only that.. problem is on that line..
Re: i need help please.. -
Jankingston - 07.10.2013
try this :
pawn Код:
if(!IsPlayerInRangeOfVehicle(playerid)vehicleid)> = 7.5;
else LockStatus(vehicleid) >= 1) // G-bugging fix
ClearAnimations(playerid);
}
return 1;
Re: i need help please.. -
warlord321 - 07.10.2013
Still error sir...
Re: i need help please.. -
EiresJason - 07.10.2013
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;
Re: i need help please.. -
iZN - 07.10.2013
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;
}
Re: i need help please.. -
Konstantinos - 07.10.2013
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);
}
}