Jump to content

Mistokus

Membru
  • Posts

    30
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Mistokus

  1. M-am apucat de un nou gamemode, iar cand bag include sscanf2 imi da crash consola, adica se deschide si se inchide instant, daca mut pe sscanf normal nu merg comenzile. server_log este asta 


    ----------
    Loaded log file: "server_log.txt".
    ----------

    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team

    [18:36:51] 
    [18:36:51] Server Plugins
    [18:36:51] --------------
    [18:36:51]  Loading plugin: mysql
    [18:36:51]  >> plugin.mysql: R39-6 successfully loaded.
    [18:36:51]   Loaded.
    [18:36:51]  Loading plugin: streamer
    [18:36:51] 

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

    [18:36:51]   Loaded.
    [18:36:51]  Loading plugin: sscanf
    [18:36:51] 

    [18:36:51]  ===============================

    [18:36:51]       sscanf plugin loaded.     

    [18:36:51]          Version:  2.8.2        

    [18:36:51]    (c) 2012 Alex "Y_Less" Cole  

    [18:36:51]  ===============================

    [18:36:51]   Loaded.
    [18:36:51]  Loaded 3 plugins.

    [18:36:51] 
    [18:36:51] Filterscripts
    [18:36:51] ---------------
    [18:36:51]   Loaded 0 filterscripts.

  2. Acest job se bazeaza pe urmarea checkpointurilor pentru a primi o suma de bani. El se instaleaza foarte simplu, tot ce e de facut este sa mutati fisierul descarcat in folderul "filterscripts" din folderul serverului iar apoi sa puneti asta la OnGamemodeInit in gamemode: SendRconCommand("loadfs AirTransporter");

    Esista 3 nivele si anume: Beginner, advanced si professional dupa care veti primi si avionul. Mai jos aveti poze cu job-ul

    Spoiler

    hI1rfaM.png

    BQlJeYS.jpg

    dOSAn9e.png

    Mai jos sunt fisierele de downlaod

    AirTransporter.amx

    AirTransporter.pwn

  3. Propun infiintarea unui server de discord unde scripterii pot discuta/cere o parere, incepatorii pot cere ajutor, vanzare/cumparare gamemode-uri si sisteme si multe altele ce pot fi mai usor facute, unde sa fie si o sectiune "reclama servere" unde cei cu grade sa zicem isi pot face reclama la server.

  4. Acum 13 ore, SherKan a spus:

    tu ai 

    
    PlayerInfo[i][pHours] += PlayerInfo[i][pSeconds]/3600;

    daca variabila PlayerInfo[i][pSeconds]  este 0 nu o sa iti bage nimic la ore, vezi unde se contorizeaza aceasta variabila si poate afli acolo buba

     

    Ss contorizeaza secunde ca apar si in /time deci... ms oricum

  5. Toate celelalte variabile se modifica mai putin orele jucate. Ce pot face?

    Asta e script-ul de payday.

    COD: 

    	for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i))
    	if(ServerMinute == 0 && ServerSecond == 1)
    	{
    		new lvl = PlayerInfo[i][pLevel],pr = 1+PlayerInfo[i][pPremiumAcount],papagalll = 1+ParrotPuted[i],fpp = 1+PlayerInfo[i][pPremiumAcount];
    		new ppaa = 0+papagalll;
    		new rp = 0+pr;
    		new fp = 0+fpp;
    		new rand = lvl*50 + random(50);
    		new dobanda = rand*ppaa;
    		PlayerInfo[i][pRP] += rp;
    		PlayerInfo[i][pHours] += PlayerInfo[i][pSeconds]/3600;	
    		if(PlayerInfo[i][pLicence] > 0)
    		{
    			PlayerInfo[i][pLicence] -= 1;
    		}
    		if(PlayerInfo[i][pGLic] > 0)
    		{
    			PlayerInfo[i][pGLic] -= 1;
    		}
    		if(PlayerInfo[i][pPLic] > 0)
    		{
    			PlayerInfo[i][pPLic] -= 1;
    		}
    		if(PlayerInfo[i][pBLic] > 0)
    		{
    			PlayerInfo[i][pBLic] -= 1;
    		}
    		if(PlayerInfo[i][pRoll] < 50 && PlayerInfo[i][pSeconds] > 2200)
    		{
    			PlayerInfo[i][pRoll] += 10;
    		}
    		if(PlayerInfo[i][pGift] < 3 && SpecialWeek == 1 && PlayerInfo[i][pSeconds] > 1800)
    		{
    		    PlayerInfo[i][pGift] += 1;
    		}
    		if(PlayerInfo[i][pFactionPunish] > 0)
    		{
    			PlayerInfo[i][pFactionPunish] -= fp;
    		}
    		UpdateProgressBar(i);
    		PlayerInfo[i][pBankMoney] += dobanda;
    		SCM(i, -1, "{9DFE80}------------------------------------- PayDay -------------------------------------");		
    		SCMEx(i, -1, "Bank Money: +%s$ | Respect Points: +%d | Playing Hours: +%0.2f", FormatNumber(dobanda), rp, PlayerInfo[i][pSeconds]/3600);		
    		GameTextForPlayer(i, "~g~PAYDAY", 2000, 1);
    		PlayerInfo[i][pSeconds] = 0;
    		printf("Este ora %02d:%02d:%02d. Payday acordat!",ServerHour, ServerMinute, ServerSecond);
        }      

    Cn rezolva are +1 de la mine

  6. Salut! Astazi m-am gandit sa va incat cum se face un admin system. Sper sa va placa!

    Intai haideti sa definim variabila.

    #include <a_samp>
    #include <sscanf>
      
    enum pInfo {
    	pAdmin,
    };
    new PlayerInfo[MAX_PLAYERS][pInfo];

    Acum haideti sa facem comanda de setare

    CMD:setadmin(playerid, params[])
    {
    		if(!IsPlayerAdmin(playerid)) return SCM(playerid, -1, AdminOnly);
    		new alevel,str[128],ID;
    		if(sscanf(params,"ui",ID,alevel)) return SendClientMessage(playerid,0xB3B3B3FF, "Syntax: {FFFFFF}/setadmin <playerid/name> <admin level>");
    		if(!IsPlayerConnected(ID)) return SendClientMessage(playerid,0xB3B3B3FF, "{FF0000}ERROR: {FFFFFF}Utilizatorul nu este conectat.");
    		if(ID == playerid) return SCM(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda asupra ta!");
    		if(alevel > 7 || alevel < 0) return SendClientMessage(playerid,0xB3B3B3FF,"{FF0000}ERROR: {FFFFFF}Sunt valabile doar 7 nivele de admin!");
    		if(alevel == 0)
    		{
    			PlayerInfo[ID][pSelectColor] = 0;
    		    if(PlayerInfo[ID][pAdmin] == 0) return 1;
    			format(str, sizeof(str), "%s te-a scos din functia de admin.", GetName(playerid));
    			SCM(ID, 0x00BFFFFF, str);
    			format(str, sizeof(str), "%s l-a scos din functia de admin pe %s.", GetName(playerid), GetName(ID));
    			SendAdminMessage(0x00BFFFFF, str);
    			SendHelperMessage(0x00BFFFFF, str);
    		    PlayerInfo[ID][pAdmin] = 0;
    			StopFly(ID);
    			UsedFly[ID] = 0;
    		}
    		if(alevel == 1)
    		{
    		    if(PlayerInfo[ID][pAdmin] == 1) return 1;
    			format(str, sizeof(str), "%s te-a promovat la functia de admin 1 (Trial Admin).", GetName(playerid));
    			SCM(ID, 0x00BFFFFF, str);
    			format(str, sizeof(str), "%s l-a promovat pe %s la functia de admin 1 (Trial Admin).", GetName(playerid), GetName(ID));
    			SendAdminMessage(0x00BFFFFF, str);
    			SendHelperMessage(0x00BFFFFF, str);
    		    PlayerInfo[ID][pAdmin] = 1;
    		}
    		if(alevel == 2)
    		{
    		    if(PlayerInfo[ID][pAdmin] == 2) return 1;
    			format(str, sizeof(str), "%s te-a promovat la functia de admin 2 (Junior Admin).", GetName(playerid));
    			SCM(ID, 0x00BFFFFF, str);
    			format(str, sizeof(str), "%s l-a promovat pe %s la functia de admin 2 (Junior Admin).", GetName(playerid), GetName(ID));
    			SendAdminMessage(0x00BFFFFF, str);
    			SendHelperMessage(0x00BFFFFF, str);
    		    PlayerInfo[ID][pAdmin] = 2;
    		}
    		if(alevel == 3)
    		{
    		    if(PlayerInfo[ID][pAdmin] == 3) return 1;
    			format(str, sizeof(str), "%s te-a promovat la functia de admin 3 (General Admin).", GetName(playerid));
    			SCM(ID, 0x00BFFFFF, str);
    			format(str, sizeof(str), "%s l-a promovat pe %s la functia de admin 3 (General Admin).", GetName(playerid), GetName(ID));
    			SendAdminMessage(0x00BFFFFF, str);
    			SendHelperMessage(0x00BFFFFF, str);
    		    PlayerInfo[ID][pAdmin] = 3;
    		}
    		if(alevel == 4)
    		{
    		    if(PlayerInfo[ID][pAdmin] == 4) return 1;
    			format(str, sizeof(str), "%s te-a promovat la functia de admin 4 (Head Admin).", GetName(playerid));
    			SCM(ID, 0x00BFFFFF, str);
    			format(str, sizeof(str), "%s l-a promovat pe %s la functia de admin 4 (Head Admin).", GetName(playerid), GetName(ID));
    			SendAdminMessage(0x00BFFFFF, str);
    			SendHelperMessage(0x00BFFFFF, str);
    		    PlayerInfo[ID][pAdmin] = 4;
    		}
    		if(alevel == 5)
    		{
    		    if(PlayerInfo[ID][pAdmin] == 5) return 1;
    			format(str, sizeof(str), "%s te-a promovat la functia de admin 5 (Lead Admin).", GetName(playerid));
    			SCM(ID, 0x00BFFFFF, str);
    			format(str, sizeof(str), "%s l-a promovat pe %s la functia de admin 5 (Lead Admin).", GetName(playerid), GetName(ID));
    			SendAdminMessage(0x00BFFFFF, str);
    			SendHelperMessage(0x00BFFFFF, str);
    		    PlayerInfo[ID][pAdmin] = 5;
    		}
    		if(alevel == 6)
    		{
    		    if(PlayerInfo[ID][pAdmin] == 6) return 1;
    			format(str, sizeof(str), "%s te-a promovat la functia de admin 6 (Co-Owner).", GetName(playerid));
    			SCM(ID, 0x00BFFFFF, str);
    			format(str, sizeof(str), "%s l-a promovat pe %s la functia de admin 6 (Co-Owner).", GetName(playerid), GetName(ID));
    			SendAdminMessage(0x00BFFFFF, str);
    			SendHelperMessage(0x00BFFFFF, str);
    		    PlayerInfo[ID][pAdmin] = 6;
    		}
    		if(alevel == 7)
    		{
    		    if(PlayerInfo[ID][pAdmin] == 7) return 1;
    			format(str, sizeof(str), "%s te-a promovat la functia de admin 7 (Owner/Scripter).", GetName(playerid));
    			SCM(ID, 0x00BFFFFF, str);
    			format(str, sizeof(str), "%s l-a promovat pe %s la functia de admin 7 (Owner/Scripter).", GetName(playerid), GetName(ID));
    			SendAdminMessage(0x00BFFFFF, str);
    			SendHelperMessage(0x00BFFFFF, str);
    		    PlayerInfo[ID][pAdmin] = 7;
    		}
    		return 1;
    }

    Si acum cateva comenzi.

    CMD:spawn(playerid, params[])
    {
    	new UserID, info[512], destinatar[MAX_PLAYER_NAME], nam[MAX_PLAYER_NAME];
    	if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, -1, AdminOnly);
    	if(sscanf(params, "u", UserID)) return SCM(playerid, 0xB3B3B3FF, "Syntax: {FFFFFF}/spawn <playerid/name>");
    	if(PlayerInfo[UserID][pAdmin] > PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, -1, "Nu poti folosi comanda aceasta pe acel player.");
    	if(!IsPlayerConnected(UserID)) return SendClientMessage(playerid,0xB3B3B3FF, "{FF0000}ERROR: {FFFFFF}Utilizatorul nu este conectat.");
    	GetPlayerName(playerid, nam, sizeof(nam));
     	GetPlayerName(UserID, destinatar, sizeof(destinatar));
     	format(info, sizeof(info), "{FFFFFF}<{FF0000}AdminCMD{FFFFFF}> %s i-a acordat respawn lui %s.",nam, destinatar);
     	SendAdminMessage(-1, info);
     	SpawnPlayer(UserID);
     	SetPlayerVirtualWorld(UserID, 0);
     	SetPlayerInterior(UserID, 0);
     	printf("%s has spawned %s.",nam,destinatar);
    	return 1;
    }
    CMD:aheal(playerid, params[])
    {
    	new UserID, info[512], destinatar[MAX_PLAYER_NAME],nam[MAX_PLAYER_NAME];
    	if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, -1, AdminOnly);
    	if(sscanf(params, "u", UserID)) return SCM(playerid, 0xB3B3B3FF, "Syntax: {FFFFFF}/aheal <playerid/name>");
    	if(PlayerInfo[UserID][pAdmin] > PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, -1, "Nu poti folosi comanda aceasta pe acel player.");
    	if(!IsPlayerConnected(UserID)) return SendClientMessage(playerid,0xB3B3B3FF, "{FF0000}ERROR: {FFFFFF}Utilizatorul nu este conectat.");
     	GetPlayerName(UserID, destinatar, sizeof(destinatar));
     	GetPlayerName(playerid, nam, sizeof(nam));
     	format(info, sizeof(info), "{FFFFFF}<{FF0000}AdminCMD{FFFFFF}> %s i-a acordat heal lui %s.",nam,destinatar);
     	SendAdminMessage(-1, info);
     	SetPlayerHealth(UserID, 100.0);
     	printf("%s i-a acordat heal lui %s.",nam,destinatar);
    	return 1;
    }

    Si asta a fost. Daca v-a fost util acest tutorial nu uitati de un +1.

  7. Coordonate de TP: 510.89969, -2466.61328, 11.15960

    Poze: 

    Spoiler

    zPmSBx6.png

    Jtaug1w.png

    Zhvi01C.jpg

    Spoiler

     

     

    COD:

    CreateObject(11695, 395.72821, -2518.67114, -18.46377,   0.00000, 0.00000, 27.06000);
    CreateObject(11695, 320.02478, -2437.19897, -21.98876,   0.00000, 0.00000, -115.44013);
    CreateObject(18751, 274.57410, -2518.92920, -2.29614,   0.00000, 0.00000, 88.43987);
    CreateObject(18751, 365.55383, -2360.03394, -2.34516,   0.00000, 0.00000, 16.08001);
    CreateObject(18850, 431.23734, -2538.20386, 13.71114,   0.00000, 0.00000, -1.68002);
    CreateObject(6976, 416.28613, -2519.69482, 16.88396,   0.00000, 0.00000, 0.00000);
    CreateObject(18770, 433.48981, -2520.51294, -74.34521,   0.00000, 0.00000, 0.00000);
    CreateObject(709, 335.18924, -2414.64697, 9.42350,   0.00000, 0.00000, 0.06000);
    CreateObject(706, 279.84225, -2410.74438, 9.85588,   0.00000, 0.00000, 0.00000);
    CreateObject(707, 304.67542, -2434.91431, 9.89567,   0.00000, 0.00000, 0.00000);
    CreateObject(708, 259.36212, -2453.87769, 10.19245,   0.00000, 0.00000, 0.00000);
    CreateObject(615, 280.63623, -2456.47607, 10.12410,   0.00000, 0.00000, 0.00000);
    CreateObject(616, 269.26962, -2478.39453, 9.70664,   0.00000, 0.00000, -0.12000);
    CreateObject(706, 302.03433, -2381.60010, 9.85588,   0.00000, 0.00000, 48.24001);
    CreateObject(709, 237.73990, -2430.92041, 9.42350,   0.00000, 0.00000, 57.95999);
    CreateObject(709, 302.26794, -2455.74976, 9.42350,   0.00000, 0.00000, 59.87999);
    CreateObject(616, 291.47031, -2429.39136, 9.70664,   0.00000, 0.00000, 50.88001);
    CreateObject(706, 305.51895, -2403.08667, 9.85588,   0.00000, 0.00000, 63.54002);
    CreateObject(708, 268.87170, -2435.18213, 10.19245,   0.00000, 0.00000, 0.00000);
    CreateObject(4571, 373.57526, -2581.64551, 61.69426,   0.00000, 0.00000, 114.30003);
    CreateObject(4564, 354.98282, -2513.29712, 123.04493,   0.00000, 0.00000, 191.76010);
    CreateObject(4602, 395.67984, -2459.22534, 83.80783,   0.00000, 0.00000, 37.73999);
    CreateObject(11695, 494.44312, -2405.28784, -22.97652,   0.00000, 0.00000, 125.52000);
    CreateObject(18751, 407.64731, -2351.92651, -2.34516,   0.00000, 0.00000, 16.08001);
    CreateObject(18751, 441.76108, -2351.00024, -2.34516,   0.00000, 0.00000, 16.08001);
    CreateObject(4690, 466.22403, -2407.04712, 15.31489,   0.00000, 0.00000, 127.13995);
    CreateObject(5882, 515.69025, -2374.15723, 63.52644,   0.00000, 0.00000, 121.19999);
    CreateObject(710, 573.12164, -2455.40796, 14.16569,   0.00000, 0.00000, -12.30000);
    CreateObject(710, 581.65894, -2455.32813, 14.16569,   0.00000, 0.00000, 52.37999);
    CreateObject(710, 581.92676, -2450.26196, 14.16569,   0.00000, 0.00000, 48.23999);
    CreateObject(710, 591.02502, -2453.63062, 14.16569,   0.00000, 0.00000, 51.18000);
    CreateObject(710, 586.00348, -2451.55688, 14.16569,   0.00000, 0.00000, 29.04000);
    CreateObject(10767, 595.86401, -2524.75366, -7.69869,   0.00000, 0.00000, 97.67985);
    CreateObject(3244, 485.36945, -2475.64185, 8.68281,   0.00000, 0.00000, 15.00001);
    CreateObject(8378, 663.53290, -2576.37134, -2.81754,   0.00000, 0.00000, 52.31995);
    CreateVehicle(487, 431.0049, -2538.0032, 27.3093, 268.5600, -1, -1, 100);
    CreateVehicle(577, 557.5948, -2494.9202, 9.5913, 231.6600, -1, -1, 100);

     

  8. Acum 5 minute, SorinGamerYT a spus:

    CMD:givemoney(playerid, params[])
    {
        if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid,COLOR_WHITE, AdminOnly);
         new rep, id, string[200];
         if(sscanf(params, "ui",id,rep)) return SendClientMessage(playerid,COLOR_GREY, "Syntax: {FFFFFF}/givemoney <playerid/name> <amount>");
        if(PlayerInfo[id][pAdmin] > PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, -1, "Nu poti folosi comanda aceasta pe acel player.");
         if(!IsPlayerConnected(id)) return SendClientMessage(playerid,0xB3B3B3FF, "{FF0000}ERROR: {FFFFFF}Utilizatorul nu este conectat.");
         if(rep < -500000 || rep > 500000) return SCM(playerid, -1, "Poti da o suma cuprinsa intre -500.000 si 500.000$!");
        format(string, sizeof(string), "{FFFFFF}<{FF0000}AdminCMD{FFFFFF}> %s i-a dat %s$ lui %s.",GetName(playerid), FormatNumber(rep), GetName(id));
        SendAdminMessage(-1, string);
         GivePlayerMoney(id, rep);
        printf("%s i-a dat %s$ lui %s.",GetName(playerid), FormatNumber(rep), GetName(id));
        new str[256];
        format(str, sizeof(str),"* %s ti-a dat $%s.",GetName(playerid),FormatNumber(rep));
        SCM(id, COLOR_YELLOW, str);
        return 1;
    }

    Ms mult, am observat si greseala, trebuia %s ca e string :D. +1 de la mn

  9. CMD:givemoney(playerid, params[])
    {
        if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid,COLOR_WHITE, AdminOnly);
         new rep, id, string[200];
         if(sscanf(params, "ui",id,rep)) return SendClientMessage(playerid,COLOR_GREY, "Syntax: {FFFFFF}/givemoney <playerid/name> <amount>");
        if(PlayerInfo[id][pAdmin] > PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, -1, "Nu poti folosi comanda aceasta pe acel player.");
         if(!IsPlayerConnected(id)) return SendClientMessage(playerid,0xB3B3B3FF, "{FF0000}ERROR: {FFFFFF}Utilizatorul nu este conectat.");
         if(rep < -500000 || rep > 500000) return SCM(playerid, -1, "Poti da o suma cuprinsa intre -500.000 si 500.000$!");
        format(string, sizeof(string), "{FFFFFF}<{FF0000}AdminCMD{FFFFFF}> %s i-a dat %d$ lui %s.",GetName(playerid), FormatNumber(rep), GetName(id));
        SendAdminMessage(-1, string);
         GivePlayerMoney(id, rep);
        printf("%s i-a dat %d$ lui %s.",GetName(playerid), FormatNumber(rep), GetName(id));
        new str[256];
        format(str, sizeof(str),"* %s ti-a dat $%d.",GetName(playerid),FormatNumber(rep));
        SCM(id, COLOR_YELLOW, str);
        return 1;
    }

  10. CMD:givemoney(playerid, params[])
    {
        if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid,COLOR_WHITE, AdminOnly);
         new rep, id, string[200];
         if(sscanf(params, "ui",id,rep)) return SendClientMessage(playerid,COLOR_GREY, "Syntax: {FFFFFF}/givemoney <playerid/name> <amount>");
        if(PlayerInfo[id][pAdmin] > PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, -1, "Nu poti folosi comanda aceasta pe acel player.");
         if(!IsPlayerConnected(id)) return SendClientMessage(playerid,0xB3B3B3FF, "{FF0000}ERROR: {FFFFFF}Utilizatorul nu este conectat.");
         if(rep < -500000 || rep > 500000) return SCM(playerid, -1, "Poti da o suma cuprinsa intre -500.000 si 500.000$!");
        format(string, sizeof(string), "{FFFFFF}<{FF0000}AdminCMD{FFFFFF}> %s i-a dat %d$ lui %s.",GetName(playerid), FormatNumber(rep), GetName(id));
        SendAdminMessage(-1, string);
         GivePlayerMoney(id, rep);
        printf("%s i-a dat %d$ lui %s.",GetName(playerid), FormatNumber(rep), GetName(id));
        new str[256];
        format(str, sizeof(str),"* %s ti-a dat $%d.",GetName(playerid),FormatNumber(rep));
        SCM(id, COLOR_YELLOW, str);
        return 1;
    }

  11. Scriptul (functia): 

    FormatNumber(number) {
       new Str[15];
       format(Str, 15, "%d", number);
       if(strlen(Str) < sizeof(Str)) {
          if(number >= 1000 && number < 10000) strins( Str, ",", 1, sizeof(Str));
          else if(number >= 10000 && number < 100000) strins(Str, ",", 2, sizeof(Str));
          else if(number >= 100000 && number < 1000000) strins(Str, ",", 3, sizeof(Str));
          else if(number >= 1000000 && number < 10000000) strins(Str, ",", 1, sizeof(Str)),strins(Str, ",", 5, sizeof(Str));
          else if(number >= 10000000 && number < 100000000) strins(Str, ",", 2, sizeof(Str)),strins(Str, ",", 6, sizeof(Str));
          else if(number >= 100000000 && number < 1000000000) strins(Str, ",", 3, sizeof(Str)),strins(Str, ",", 7, sizeof(Str));
          else if(number >= 1000000000 && number < 10000000000)
               strins(Str, ",", 1, sizeof(Str)),
               strins(Str, ",", 5, sizeof(Str)),
               strins(Str, ",", 9, sizeof(Str));
          else format(Str, 10, "%d", number);
       }
       return Str;
    }

    Iar aici este cum imi apare in-game:

     

     

  12. Nume: Mistokus

    Poze: https://imgur.com/a/y4irx

    Link Download: https://pastebin.com/EqEL8mXF

    Descriere: Am vazut la edison un tutorial cu comanda /pcolor dar era mai greu, creea stock-uri noi, umbla la on player connect etc, ideea e ca era mai mult de lucru asa ca m-am gandit sa fac o varianta mai simpla, care se reseteaza la conectare. Nu are restrictie insa o puteti pune voi.

    Alte Precizari: Trebuie sa aveti zcmd! Sper sa va placa

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