SA-MP Forums Archive
[Include] vSync - OnVehicleChangePaintjob, OnVehicleRespray, GetVehicleInterior, GetVehicleNumberPlate, Pay 'n' Spray fix, etc. - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] vSync - OnVehicleChangePaintjob, OnVehicleRespray, GetVehicleInterior, GetVehicleNumberPlate, Pay 'n' Spray fix, etc. (/showthread.php?tid=642022)

Pages: 1 2


Re: vSync - OnVehicleChangePaintjob, OnVehicleRespray, GetVehicleInterior, GetVehicleNumberPlate, Pay 'n' Spray fix, etc - NichWell - 16.09.2018

PHP код:
vSyncALS.inc(1105) : error 029invalid expressionassumed zero
vSyncALS
.inc(1105) : warning 215expression has no effect
vSyncALS
.inc(1105) : error 001expected token";"but found ")"
vSyncALS.inc(1105) : error 029invalid expressionassumed zero
vSyncALS
.inc(1105) : fatal error 107too many error messages on one line 
Pawn compiler 3.10.8 Copyright © 1997-2006, ITB CompuPhase




Re: vSync - OnVehicleChangePaintjob, OnVehicleRespray, GetVehicleInterior, GetVehicleNumberPlate, Pay 'n' Spray fix, etc - NichWell - 23.09.2018

Fix
Quote:

if(v_health >= 1000.0 && (gettime() - vSync_PaySprayTick[playerid]) >= 1)

Or

Quote:

if(v_health >= 1000.0 || (gettime() - vSync_PaySprayTick[playerid]) >= 1)