- 0
dece?=(((((((
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
stasondj
Am pus la /stats - Ore.minute,secunde si nu se salveaza
(
Am adaugat la dialogul de register asta:
[pawn]dini_IntSet(file, "Hours", PlayerInfo[ playerid ][ Hours ] = 0);
dini_IntSet(file, "Minutes", PlayerInfo[ playerid ][ Minutes ] = 0);
dini_IntSet(file, "Seconds", PlayerInfo[ playerid ][ Seconds ] = 0);[/pawn]
Si la login asta:
[pawn]PlayerInfo[ playerid ][ Hours ] = dini_Int(file,"Hours");
PlayerInfo[ playerid ][ Minutes ] = dini_Int(file,"Minutes");
PlayerInfo[ playerid ][ Seconds ] = dini_Int(file,"Seconds");[/pawn]
Si la OnPlayerDisconnect asta:
[pawn]dini_IntSet(file, "Hours", PlayerInfo[ playerid ][ Hours ]);
dini_IntSet(file, "Minutes", PlayerInfo[ playerid ][ Minutes ]);
dini_IntSet(file, "Seconds", PlayerInfo[ playerid ][ Seconds ]);[/pawn]
Si nu se salveaza
(
Ce trebuie sa fac ca sa se salveze?
0 answers to this question
Recommended Posts