![]() |
#11 |
Big Clucker
![]() ![]() Join Date: Jun 2012
Posts: 133
Reputation: 0
|
![]()
How to save this value? For e.g. the server is crashed, and all vehicle's distance return to 0... Or how to read the saved floats?
|
![]() |
![]() |
![]() |
#12 |
Big Clucker
Join Date: Jan 2013
Posts: 187
Reputation: 23
|
![]()
E@_S is never used.
Also need to forward E@_OnPlayerExitVehicle(playerid, vehicleid); |
![]() |
![]() |
![]() |
#13 | |
Big Clucker
![]() ![]() Join Date: Oct 2013
Posts: 158
Reputation: 14
|
![]()
So many knit-picky 'experts' here.
Quote:
OR find a data saving include such as y_ini. To save data to prevent loss on crash, save the integer value using a timer every (1min * PlayerSlots/50) not OnGameModeExit. There's no garantee the vehicleids will be the same after the server starts back up, so make your own sort of vehicleid system. 1 mile = 5280 feet, so you can also do (GetMiles(vehicleid) / 5280) which I believe will be more accurate. Good job OP, it's useful =] |
|
![]() |
![]() |
![]() |
#14 |
Little Clucker
![]() Join Date: Sep 2014
Posts: 14
Reputation: 2
|
![]()
nuce
|
![]() |
![]() |
![]() |
#15 |
Huge Clucker
![]() ![]() ![]() Join Date: May 2014
Posts: 394
Reputation: 23
|
![]()
Nice.
|
![]() |
![]() |
![]() |
#16 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Feb 2013
Location: Croatia
Posts: 891
Reputation: 115
|
![]()
Awesome include, thank you very much.
|
![]() |
![]() |
![]() |
#17 |
Little Clucker
![]() Join Date: Oct 2014
Posts: 17
Reputation: 3
|
![]()
Great work mate!
|
![]() |
![]() |
![]() |
#18 |
Big Clucker
![]() ![]() Join Date: Aug 2017
Location: Guyana
Posts: 96
Reputation: 0
|
![]()
I can't get this to work.
|
![]() |
![]() |
![]() |
#19 |
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 15,710
Reputation: 3226
|
![]()
why "E@_R"? Most people use meaningful names for their variables, like "E_gVehicleDistanceTravelled". "R" is meaningless.
|
![]() |
![]() |
![]() |
#20 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 599
Reputation: 53
|
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FilterScript] NRank System V1.0 | Advanced Rank System | 5+ Commands | Dialog System [Much More] | Nirzor | Filterscripts | 9 | 18/04/2014 10:49 PM |
[Include] eDistance System | EditPawn | Lançamentos/Releases | 28 | 04/01/2013 02:46 PM |
[FilterScript] Cross Admin System V1.2 [updated] + Added IRC System + Anti Cheat(sscanf, dcmd,y_ini) No.1 Admin System | CROSS_Hunter | Filterscripts | 21 | 02/01/2013 07:32 PM |