Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Linear Mode
Error with my SaveAccount
Kush
Gangsta
Posts: 781
Threads: 12
Joined: May 2011
Reputation:
0
#4
10.10.2011, 20:18
Quote:
Originally Posted by
mitosking
I use this script:
Under OnGameModeExit:
pawn Код:
for
(
new
i
=
0
; i
<
MAX_PLAYERS; i
++
)
{
OnPlayerDisconnect
(
i,
0
)
;
}
And in OnPlayerDisconnect I insert the SaveAccount function. Now the skin is correct, but Health, Armour and Pos are 0.
Only the floats are setting to 0. Why?
Output the data to the console upon disconnect, see what values are being changed/saved.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Error with my SaveAccount
- by
mitosking
- 10.10.2011, 17:06
Re: Error with my SaveAccount
- by
Backwardsman97
- 10.10.2011, 17:20
Re: Error with my SaveAccount
- by
mitosking
- 10.10.2011, 20:05
Re: Error with my SaveAccount
- by
Kush
- 10.10.2011, 20:18
Re: Error with my SaveAccount
- by
mitosking
- 10.10.2011, 20:35
Re: Error with my SaveAccount
- by
GrimR
- 10.10.2011, 20:49
Re: Error with my SaveAccount
- by
mitosking
- 10.10.2011, 20:56
Re: Error with my SaveAccount
- by
Backwardsman97
- 10.10.2011, 21:29
Re: Error with my SaveAccount
- by
mitosking
- 11.10.2011, 10:34
Re: Error with my SaveAccount
- by
GrimR
- 11.10.2011, 11:08
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 3 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help