Score And Money
#1

Hi ! In My Computer when Run Server And Load Score And Money But In Linux Not Load Money And score ! Why?
Reply
#2

what saving systems do you use?
Reply
#3

Reading this like

Reply
#4

Show us your loading script
Reply
#5

Quote:
Originally Posted by Mattakil
Посмотреть сообщение
what saving systems do you use?
I Use strlower I Think For This ?

Код:
new file[128];        // This get's the lenght of the file
    GetPlayerName(playerid, pname, sizeof(pname)); // This get's the player name with the lenght of the player name
    format(file, sizeof(file), savefolder,strlower(pname)); // This describe's where to save and how to save it
    if(!dini_Exists(file)) { // If the file exist
        SendClientMessage(playerid,COLOR_RED,"[INFO]{FFFFFF}Pls Register.");
        ShowRegisterScreen(playerid);
        dini_Create(file); // Create the file
        dini_IntSet(file, "Score", 0); // Set's "Score"
        dini_IntSet(file, "Money", 0); // Set's "Money"
        SetPlayerScore(playerid, dini_Int(file, "Score")); // This describes where to load the score
        SetPlayerCash(playerid, dini_Int(file, "Money"));
    }
    else {
        SendClientMessage(playerid,COLOR_RED,"[INFO]{FFFFFF}Pls Login.");
        ShowLoginScreen(playerid);
        SetPlayerScore(playerid, dini_Int(file, "Score"));
        SetPlayerCash(playerid, dini_Int(file, "Money"));
        // the same thing
    }
Reply
#6

hmmm, in your 'plugins' folder, are all plugins in linux (.so) format? And in server.cfg the plugins have to look like this

Код:
plugins plugin1.so plugin2.so
as opposed to windows,

Код:
plugin1 plugin 2
Reply
#7

@JamieVic
Don't be a fag.
Quote:
Originally Posted by AlonzoTorres
Посмотреть сообщение
we all have done stupid things including ****** and other celebrities of the SA-MP world. Heck, I even bet that Kalcor have done a few stupid things!
Reply
#8

Quote:
Originally Posted by itsCody
Посмотреть сообщение
Show us your loading script
SA-MP Dedicated Server
----------------------
v0.3z-RC2, ©2005-2014 SA-MP Team

[06:56:20]
[06:56:20] Server Plugins
[06:56:20] --------------
[06:56:20] Loading plugin: irc
[06:56:20]

*** IRC Plugin v1.4.3 by Incognito loaded ***

[06:56:20] Loaded.
[06:56:20] Loading plugin: streamer
[06:56:20]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[06:56:20] Loaded.
[06:56:20] Loading plugin: sscanf
[06:56:20]

[06:56:20] ===============================

[06:56:20] sscanf plugin loaded.

[06:56:20] Version: 2.8.1

[06:56:20] © 2012 Alex "******" Cole

[06:56:20] ===============================

[06:56:20] Loaded.
[06:56:20] Loaded 3 plugins.

[06:56:20]
[06:56:20] Ban list
[06:56:20] --------
[06:56:20] Loaded: samp.ban
[06:56:20]
[06:56:20]
[06:56:20] Filterscripts
[06:56:20] ---------------
[06:56:20] Loading filterscript 'SasinosoftHouses_2.2.amx'...
[06:56:20] Loading filterscript 'khoone.amx'...
[06:56:20] Loading filterscript 'Zadmin4.2.amx'...
[06:56:20] - Loading language 'Zadmin_English'...
[06:56:22]
[06:56:23] - Admin commands activtion commnds Configuration loaded.
[06:56:23] - Admin Commands Levels loaded.
[06:56:23] - System Options Configurations caricate.
[06:56:23] - ANTI BAD NAMES: 1 forbidden parts of name.
[06:56:23] - ANTI SWEAR: 1 forbidden words loaded.
[06:56:23] - RANGE BAN: 0 range-banned players loaded.
[06:56:23] Zadmin: Updating Config...
[06:56:23] Zadmin: Updated Config.
[06:56:23] *** 'Zadmin v4.2' loading is complete.
[06:56:23]
*************************************
[06:56:23] * [FS]AdmiN *
[06:56:23] * V 1.0 *
[06:56:23] * Loaded. *
[06:56:23] * By NEO*
[06:56:23] *************************************

[06:56:23] Loading filterscript 'lili.amx'...
[06:56:23] Loading filterscript 'anims.amx'...
[06:56:23] Loading filterscript 'kelisa.amx'...
[06:56:23] Loading filterscript 'Apiary.amx'...
[06:56:23] Loading filterscript 'kasino.amx'...
[06:56:23] Loading filterscript 'skinchanger.amx'...
[06:56:23] Loading filterscript 'gl_realtime.amx'...
[06:56:23] Loading filterscript 'kamion.amx'...
[06:56:23] Loading filterscript 'keshavarz.amx'...
[06:56:23] Loaded 12 filterscripts.
Reply
#9

Quote:
Originally Posted by Mattakil
Посмотреть сообщение
hmmm, in your 'plugins' folder, are all plugins in linux (.so) format? And in server.cfg the plugins have to look like this

Код:
plugins plugin1.so plugin2.so
as opposed to windows,

Код:
plugin1 plugin 2
Y Loock ! Save Robskill,TerorSkills But Not Save Money And Score!
Reply
#10

When Use strlower Not Save Score And Money.
How To Fix strlower ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)