Jump to content

alinutz_boy32

Membru
  • Posts

    91
  • Joined

  • Last visited

    Never

Posts posted by alinutz_boy32

  1. Cum transform o comanda din Dcmd in CMD ...

    Am aceasca comanda

    dcmd_setallcash(playerid,params[]) {
    	if(PlayerInfo[playerid][Level] >= 3) {
    	    if(!strlen(params)) return SendClientMessage(playerid, red, "USAGE: /setallcash [Amount]");
    		new var = strval(params), string[128];
           	CMDMessageToAdmins(playerid,"SETALLCASH");
    		for(new i = 0; i < MAX_PLAYERS; i++) {
    			if(IsPlayerConnected(i)) {
    				PlayerPlaySound(i,1057,0.0,0.0,0.0);
    				ResetPlayerMoney(i);
    				GivePlayerMoney(i,var);
    			}
    		}
    		format(string,sizeof(string),"Administrator \"%s\" has set all players cash to '$%d'", pName(playerid), var );
    		return SendClientMessageToAll(blue, string);
    	} else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
    }

  2. Salut . Folosesc serverul RST creeat de Rimmon! Si vreau sa il pornesc in PC!

    Am urmarit acest tutorial http://www.sa-mp.ro/forum/index.php?topic=25278.0 dar nu gasesc aceste funcatii in FS sau in Gm (acesta este  serverul! http://www.sa-mp.ro/forum/index.php?topic=29273.0

    Intrati in gm/fs vostru si cautati functia mysql_connect acolo veti gasi ceva de genul:

    Code: [select]

    mysql_connect(mysql_host,mysql_user,mysql_db,mysql_pass);

    sau

    Code: [select]

    mysql_connect ( "127.0.0.1", ".ANdy47.", "legend", "123123" );

    daca ati gasit cum am aratat in primul exemplu va trebui sa cautati unde sunt definite mysql_host,mysql_user etc etc

    care vor arata asa

    Code: [select]

    #define mysql_host "127.0.0.1"

    #define mysql_user ".ANdy47."

    #define mysql_db  "legend"

    #define mysql_pass "123123"

  3. Am si eu o problema, nu imi citeste gamemode-ul!

    Server_Log :

    SA-MP Dedicated Server

    ----------------------

    v0.3x-R2, ©2005-2013 SA-MP Team

    [09:41:04]

    [09:41:04] Server Plugins

    [09:41:04] --------------

    [09:41:04]  Loading plugin: streamer

    [09:41:04]  Failed.

    [09:41:04]  Loading plugin: ITD

    [09:41:04]  Failed.

    [09:41:04]  Loading plugin: sscanf

    [09:41:04]

    [09:41:04]  ===============================

    [09:41:04]      sscanf plugin loaded.   

    [09:41:04]    © 2009 Alex "Y_Less" Cole

    [09:41:04]  ===============================

    [09:41:04]  Loaded.

    [09:41:04]  Loading plugin: Whirlpool

    [09:41:04] 

    [09:41:04]  ==================

    [09:41:04] 

    [09:41:04]  Whirlpool loaded

    [09:41:04] 

    [09:41:04]  ==================

    [09:41:04] 

    [09:41:04]  Loaded.

    [09:41:04]  Loading plugin: mysql

    [09:41:04]  Failed.

    [09:41:04]  Loaded 2 plugins.

    [09:41:04]

    [09:41:04] Filterscripts

    [09:41:04] ---------------

    [09:41:04]  Loading filterscript 'Maps.amx'...

    [09:41:04]  Loaded 1 filterscripts.

    [09:41:04] Script[gamemodes/RST.amx]: Run time error 19: "File or function is not found"

    [09:41:04] Number of vehicle models: 0

    [09:41:13] --- Server Shutting Down.

    [09:41:13]

    [09:41:13]  ===============================

    [09:41:13]      sscanf plugin unloaded.   

    [09:41:13]  ===============================

    [09:41:13] 

    [09:41:13]  ====================

    [09:41:13] 

    [09:41:13]  Whirlpool unloaded

    [09:41:13] 

    [09:41:13]  ====================

    [09:41:13] 

    Va multumesc pentru ajutor!

  4. Sunt incepator si vreau sa fac un textdrawn.Imi puteti spune :-dupa ce il plimb in joc

                                                                                                      -unde se salveaza textdrawnul

×
×
  • Create New...

Important Information

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.