Jump to content

IcE.

Membru
  • Posts

    1,094
  • Joined

  • Last visited

Posts posted by IcE.

  1. Engleza(wiki):

     /rcon cmdlist - Shows a list with commands. 
     /rcon varlist - Shows a list with the current variables. 
     /rcon exit - Closes the server. 
     /rcon echo [text] - Shows the [text] in the console of the server (NOT the client-console in-game). 
     /rcon hostname [name] - change the hostname text (example: /rcon hostname my server). 
     /rcon gamemodetext [name] - change the gamemode text (example: /rcon gamemodetext my gamemode). 
     /rcon mapname [name] - change the map name text (example: /rcon mapname San Andreas). 
     /rcon exec [filename] - Executes the file which contains server cfg (example: /rcon exec blah.cfg). 
     /rcon kick [ID] - Kick the player with the given ID (example: /rcon kick 2). 
     /rcon ban [ID] - Ban the player with the given ID (example: /rcon ban 2). 
     /rcon changemode [mode] - This command will change the current gamemode to the given one (example: if you want to play sftdm: /rcon changemode sftdm). 
     /rcon gmx - Will load the next gamemode in server.cfg. 
     /rcon reloadbans - reloads the samp.ban where the banned IP addresses are stored. This will clear all the IP-addresses. 
     /rcon reloadlog - clears the server_log.txt. 
     /rcon say - shows a message to the players in the client-console (example: /rcon say blah). 
     /rcon players - Shows the players that are in the server (with their name, IP & ping). 
     /rcon banip [IP] - Ban the given IP (example: /rcon banip 127.0.0.1). 
     /rcon unbanip [IP] - Unban the given IP (example: /rcon unbanip 127.0.0.1). 
     /rcon gravity - Changes the gravity (example: /rcon gravity 0.008). 
     /rcon weather [ID] - Changes the weather (example: /rcon weather 1). 
     /rcon loadfs - Loads the given filterscript (example: /rcon loadfs adminfs). 
     /rcon weburl [server url] - Changes the server URL in the masterlists/SA-MP client 
     /rcon unloadfs - Unload the given filterscript (example: /rcon unloadfs adminfs). 
     /rcon reloadfs - Reloads the given filterscript (example: /rcon reloadfs adminfs). 
     /rcon rcon_password [PASSWORD] - Change the rcon's password
    Romana(traduse de vyorel):
     /rcon cmdlist - Arata comenzile de rcon
     /rcon varlist - Arata lista curenta.
     /rcon exit - Inchide server-ul
     /rcon echo [text] - Mesaj pe ecran "admin:x"
     /rcon hostname [nume] - Schimbi numele server-ului
     /rcon gamemodetext [nume] - Schimbi numele GM-ului
     /rcon mapname [name] - Schimbi numele mapei
     /rcon exec [filename] - Executa un fisier din scriptfiles (exemplu: /rcon exec blah.cfg).
     /rcon kick [ID] - Dai kick (exemplu: /rcon kick 2).
     /rcon ban [ID] - Dai ban(exemplu: /rcon ban 2).
     /rcon changemode [mode] - Schimbi GM-ul (exemplu: /rcon changemode sftdm).
     /rcon gmx - Dai restart la server (gamemode0) in server.cfg.
     /rcon reloadbans - Mai citeste o data lista de ban.
     /rcon reloadlog - Stergi fisierul server.log
     /rcon say - Scrii prin admin  (exemplu: /rcon say blah).
     /rcon players - Arata playerii din server (Nume, IP si Ping).
     /rcon banip [IP] - Dai Ban pe IP (exemplu: /rcon banip 127.0.0.1).
     /rcon unbanip [IP] - Scoti BAN-ul pe IP (exemplu: /rcon unbanip 127.0.0.1).
     /rcon gravity - Schimbi gravitatia (exemplu: /rcon gravity 0.008).
     /rcon weather [ID] - Schimbi vremea (exemplu: /rcon weather 1).
     /rcon loadfs - Incarca un Filterscript (exemplu: /rcon loadfs adminfs).
     /rcon unloadfs - Opreste functionarea unui filterscript (exemplu: /rcon unloadfs adminfs).
     /rcon reloadfs - Reincarca filterscriptul (exemplu: /rcon reloadfs adminfs).

  2. Normal ca nu merge :)

    Cu pdc poti defini decat o singura masina.

    Incerca asa [pawn]new pdcar[4];//nr-u masinilor +1

    forward IsACopCar(carid)

    public IsACopCar(carid)

    {

    for(new i = 0; i < sizeof(pdcar); i++)

    {

    if(carid == pdcar)

    {

    return 1;

    }

    }

    return 0;

    }

    //OnGameModeInit

    pdcar[0] = AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);

    pdcar[1] = AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);

    pdcar[2] = AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);

    pdcar[3] = AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);

    IsACopCar(carid)

    {

    if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1) { }

    else

    {

    SCM(playerid,COLOR_WHITE,"You are not a member PD !");

    RemovePlayerFromVehicle(playerid);

    }

    }

    [/pawn]

  3. [pawn]public SetPlayerToTeamColor(playerid)

    {

    if(IsPlayerConnected(playerid))

    {

        SetPlayerColor(playerid,0xFFFFFF00); //Civilian

    if(PlayerInfo[playerid][pMember] == 1) { SetPlayerColor(playerid, 0x2641FE00); } //Cop

    if(PlayerInfo[playerid][pLeader] == 1) { SetPlayerColor(playerid, 0x2641FE00); } //Ccp

    if(PlayerInfo[playerid][pMember] == 2) { SetPlayerColor(playerid, 0x2641FE00); } //FBI

    if(PlayerInfo[playerid][pLeader] == 2) { SetPlayerColor(playerid, 0x2641FE00); } //FBI

    if(PlayerInfo[playerid][pLeader] == 3) { SetPlayerColor(playerid, 0x2641FE00); } //National Guard

    if(PlayerInfo[playerid][pMember] == 3) { SetPlayerColor(playerid, 0x2641FE00); } //National Guard

    if(PlayerInfo[playerid][pMember] == 4) { SetPlayerColor(playerid, 0xFF634700); } //Medic&Fireman

    if(PlayerInfo[playerid][pLeader] == 4) { SetPlayerColor(playerid, 0xFF634700); } //Medic&Fireman

    if(PlayerInfo[playerid][pMember] == 5) { SetPlayerColor(playerid, 0xFF990000); } //LCN

    if(PlayerInfo[playerid][pLeader] == 5) { SetPlayerColor(playerid, 0xFF990000); } //LCN

    if(PlayerInfo[playerid][pMember] == 6) { SetPlayerColor(playerid, 0x33AA3300); } //Yakuza

    if(PlayerInfo[playerid][pLeader] == 6) { SetPlayerColor(playerid, 0x33AA3300); } //Yakuza

    if(PlayerInfo[playerid][pMember] == 7) { SetPlayerColor(playerid, 0x578C3300); } //Mayor

    if(PlayerInfo[playerid][pLeader] == 7) { SetPlayerColor(playerid, 0x578C3300); } //Mayor

    if(PlayerInfo[playerid][pMember] == 8 ) { SetPlayerColor(playerid, 0x84000000); } //Hitman

    if(PlayerInfo[playerid][pLeader] == 8 ) { SetPlayerColor(playerid, 0x84000000); } //Hitman

    if(PlayerInfo[playerid][pMember] == 9) { SetPlayerColor(playerid, 0xC2A2DA00); } //News Reporter

    if(PlayerInfo[playerid][pLeader] == 9) { SetPlayerColor(playerid, 0xC2A2DA00); } //News Reporter

    if(PlayerInfo[playerid][pMember] == 10) { SetPlayerColor(playerid, 0xFFFF0000); } //Taxi

    if(PlayerInfo[playerid][pLeader] == 10) { SetPlayerColor(playerid, 0xFFFF0000); } //Taxi

    if(PlayerInfo[playerid][pMember] == 11) { SetPlayerColor(playerid, 0x33CCFF00); } //School Instructor

    if(PlayerInfo[playerid][pLeader] == 11) { SetPlayerColor(playerid, 0x33CCFF00); } //School Instructor

    }

    }

    [/pawn]

  4. 1.

    http://wiki.sa-mp.com/wiki/ShowPlayerDialog

    http://wiki.sa-mp.com/wiki/SetPlayerSkin

    http://wiki.sa-mp.com/wiki/GivePlayerWeapon

    http://wiki.sa-mp.com/wiki/SetPlayerHealth

    2.Cauta http://forum.sa-mp.com/showthread.php?t=302773

  5. [pawn]

    //dupa include

    new realtime = 1;

    //OnGameModeInit

    if (realtime)

    {

    new tmphour;

    new tmpminute;

    new tmpsecond;

    gettime(tmphour, tmpminute, tmpsecond);

    FixHour(tmphour);

    tmphour = shifthour;

    SetWorldTime(tmphour);

    }

    //sub o functie care e setata la ongamemode cu settimer

    if (realtime)

    {

    SetWorldTime(tmphour);

    }

    [/pawn]

×
×
  • 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.