Jump to content

Pitbul97

Membru
  • Posts

    132
  • Joined

  • Last visited

Posts posted by Pitbul97

  1. On 1/1/2021 at 10:09 PM, shane said:

    @Pitbul97,

    Ce pluginuri folosesti? Cum le-ai trecut in randul "plugins" din fisierul server.cfg? Ai incercat sa le actualizezi? Primesti vr-o eroare in server_log legata de pluginuri? (Ex. Failed to load plugin X).

    Pana la urma, trebuie sa iti pui singur intrebarile de mai sus ca sa rezolvi problema. (daca crezi ca e de la pluginuri).


    [16:43:56]   Failed (plugins/mysql.so: ELF load command past end of file)
    [16:43:56]   Failed (plugins/mysql_static.so: cannot open shared object file: No such file or directory)
    [16:43:56]   Failed (plugins/profiler.so: file too short)
     

     

     

  2. 2 hours ago, shane said:

    Salut @Pitbul97,

    Ia legatura cu firma de la care ai cumparat hostul printr-un ticket, o eventuala cauza ar putea fi lipsa unor permisiuni sau o problema la sistemul de operare linux. (daca e pe linux)

    O alta eventuala cauza ar putea fi prezenta unui fisier .amx care sa cauzeze problema asta (poate un filterscript pe care il folosesti atunci cand porneste serverul).

    ma gandesc sa nu fie problema de la plugine eu am tot incercat diverse metode cei de la host imi da raspuns la tiket  sa caut tehnician.

  3. 3 hours ago, George-Valentin Hulpoi said:

    optimizarea tine de viteza cu care se executa, nu ca nu-ti merge tie..

    am intrat degeaba aici, just a guy who doesn't know what he's doing.

    am explicat prost, defapt eu vroiam sa modific pentru ca aveam probleme atunci cand scrii /set automat iti seteaza rank 0 in factiune. 

     

    Se poate da am rezolvat T/C

  4. Am o problema cu, comanda asta, cand dai /set din prima seteaza rank la factiune cuiva pe 0

     

    CMD:set(playerid, params[])
    {
    	new id, item[25], ammount;
    	if(PlayerInfo[playerid][pAdmin] < 4)return SCM(playerid, -1, AdminOnly);
    	//if(PinLogged[playerid] == 0)return SCM(playerid, COLOR_LIGHTRED, "Trebuie sa introduci pin-ul mai intai.(/pin)");// daca nu folositi gm-ul de la mine este obligatoriu sa schimbati acest rand
    	if(sscanf(params, "us[250]i", id, item, ammount))
    	{
    	    SCM(playerid, COLOR_GREY,"Syntaxl: /set <id> <item> <ammount> ");
    	    SCM(playerid, COLOR_GREY, "Avabile Items: Group, Rank, Money, BankMoney, PlayedHours, PremiumPoints, PremiumAccount, FP");
    	}
    	if(id == INVALID_PLAYER_ID)return SCM(playerid, COLOR_LIGHTRED, "ID sau nume incorect !");
    	if(strcmp(item, "Rank", true) == 0)
    	{
    		if(PlayerInfo[id][pMember] != 0)
    		{
    			PlayerInfo[id][pRank] = ammount;
    			new str[256];
    			mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Rank`='%d' WHERE `name`='%s'",PlayerInfo[id][pRank],PlayerInfo[id][pNormalName]);
    			mysql_tquery(SQL,str,"","");
    			new IDName[25], AdminName[25];
    			GetPlayerName(id, IDName, sizeof(IDName));
    			GetPlayerName(playerid, AdminName, sizeof(AdminName));
    			new text[128];
    			format(text, sizeof(text), "AdmWarning: %s i-a setat lui %s rank-ul in factiune la rank %d.", AdminName, IDName, ammount);
    			ABroadCast(COLOR_ORANGE, text, 4);
    			SCM(id, -1, "Your rank in this faction has been changed.");
    		}
    	}
    	else if(strcmp(item,"Group",true) == 0)
    	{
    	    new name[25], name2[25], string[128], string2[128];
    		GetPlayerName(playerid, name, sizeof(name));
    		GetPlayerName(id, name2, sizeof(name2));
    		new ftext[50];
    		if(ammount == 12 || ammount == 7) return SCM(playerid, -1, "Invalid faction ID");
    		if(ammount == 0)return SCM(playerid, COLOR_GREY, "Foloseste /auninvite");
    		if(ammount == 1) { ftext = "Los Santos Police Departament"; } //Police Force
    		else if(ammount == 2) { ftext = "Federal Bureau Of Investigation"; } //FBI
    		else if(ammount == 3) { ftext = "National Guard"; } //National Guard
    		else if(ammount == 4) { ftext = "Los Aztecas"; } //Los Aztecas
    		else if(ammount == 5) { ftext = "Grove Street"; } //Grove Street
    		else if(ammount == 6) { ftext = "Los Vagos"; } //Los Vagos
    		else if(ammount == 8) { ftext = "Las Venturas Police Departament"; } //LVPD
    		else if(ammount == 9) { ftext = "News Reporter"; } //News Reporter
    		else if(ammount == 10) { ftext = "Ballas"; } //Ballas
            else if(ammount == 11) { ftext = "Hitman Agency"; } //The Agency
            else if(ammount == 13) { ftext = "Taxi Los Santos"; } //Los Santos Taxi
            else if(ammount == 14) { ftext = "Las Venturas Paramedic Departament"; } //Paramedic
            else if(ammount == 15) { ftext = "The Rifa"; } //Rifa
            else if(ammount == 16) { ftext = "The Russian Mafia"; } // The russian
            else if(ammount == 17) { ftext = "Taxi LV"; } // Taxi LV
    	    format(string, sizeof(string),"Administratorul %s te-a adaugat ca membru in factiunea %s",name,ftext);
    	    format(string2, sizeof(string2),"AdmWarning: %s l-a adaugat ca membru pe %s in factiunea %s",name, name2, ftext);
    		PlayerInfo[id][pMember] = ammount;
    		new str[356];
    		format(str, sizeof(str),"UPDATE users SET `Member`='%d' WHERE `name`='%s'",PlayerInfo[id][pMember],PlayerInfo[id][pRank],PlayerInfo[id][pNormalName]);
    		mysql_query(SQL, str);
    		ABroadCast(COLOR_LIGHTRED,string2, 4);
    		SCM(id, COLOR_DBLUE, string);
    	}
    	else if(strcmp(item, "Money", true) == 0)
    	{
    		PlayerInfo[id][pCash] = ammount;
            GivePlayerCash(id, ammount);
            Update(id, pCashx);
            new IDName[25], AdminName[25];
    		GetPlayerName(id, IDName, sizeof(IDName));
    		GetPlayerName(playerid, AdminName, sizeof(AdminName));
    		new text[128];
    		format(text, sizeof(text), "AdmWarning: %s i-a setat lui %s bani in mana la suma de %d.", AdminName, IDName, ammount);
    		ABroadCast(COLOR_ORANGE, text, 4);
    		SCM(id, -1, "You recived some money.");
    	}
    	else if(strcmp(item, "PremiumPoints", true) == 0)
    	{
            PlayerInfo[id][pPremiumPoints] = ammount;
    		Update(id,pPremiumPointsx);
    		new IDName[25], AdminName[25];
    		GetPlayerName(id, IDName, sizeof(IDName));
    		GetPlayerName(playerid, AdminName, sizeof(AdminName));
    		new text[128];
    		format(text, sizeof(text), "AdmWarning: %s i-a setat lui %s punctele premium la %d.", AdminName, IDName, ammount);
    		ABroadCast(COLOR_ORANGE, text, 4);
    		SCM(id, -1, "Your recived some premium points.");
    	}
    	else if(strcmp(item, "BankMoney", true) == 0)
    	{
    		PlayerInfo[id][pAccount] = ammount;
    		Update(id, pBank);
    		new IDName[25], AdminName[25];
    		GetPlayerName(id, IDName, sizeof(IDName));
    		GetPlayerName(playerid, AdminName, sizeof(AdminName));
    		new text[128];
    		format(text, sizeof(text), "AdmWarning: %s i-a setat lui %s bani in banca la suma de %d.", AdminName, IDName, ammount);
    		ABroadCast(COLOR_ORANGE, text, 4);
    		SCM(id, -1, "Your recived some money in bank.");
    	}
        else if(strcmp(item, "PlayedHours", true) == 0)
    	{
    	    PlayerInfo[id][pConnectTime] = ammount;
            Update(id,pConnectTimex);
            new IDName[25], AdminName[25];
    		GetPlayerName(id, IDName, sizeof(IDName));
    		GetPlayerName(playerid, AdminName, sizeof(AdminName));
    		new text[128];
    		format(text, sizeof(text), "AdmWarning: %s i-a setat lui %s orele jucate la %d.", AdminName, IDName, ammount);
    		ABroadCast(COLOR_ORANGE, text, 4);
    		SCM(id, -1, "Your played hours has been changed.");
    	}
    	else if(strcmp(item, "PremiumAccount", true) == 0)
    	{
    	    if(ammount < 0 || ammount > 1)SCM(playerid, COLOR_GREY, "1 = Cont premium | 0 = Fara cont premium");
            PlayerInfo[id][pPremiumAccount] = ammount;
    		Update(id, pPremiumAccountx);
    		new IDName[25], AdminName[25];
    		GetPlayerName(id, IDName, sizeof(IDName));
    		GetPlayerName(playerid, AdminName, sizeof(AdminName));
    		new text[128];
    		format(text, sizeof(text), "AdmWarning: %s i-a setat lui %s rank-ul in factiune la rank %d.", AdminName, IDName, ammount);
    		ABroadCast(COLOR_ORANGE, text, 4);
    		if(ammount == 0)return SCM(id, -1, "Your premium account has been removed.");
    		if(ammount == 1)return SCM(id, -1, "You recived a premium account .");
    	}
    	else if(strcmp(item, "FP", true) == 0)
    	{
            PlayerInfo[id][pFpunish] = ammount;
        	Update(id,pFpunishx);
            new IDName[25], AdminName[25];
    		GetPlayerName(id, IDName, sizeof(IDName));
    		GetPlayerName(playerid, AdminName, sizeof(AdminName));
    		new text[128];
    		format(text, sizeof(text), "AdmWarning: %s i-a setat lui %s Faction Punish-ul la  %d.", AdminName, IDName, ammount);
    		ABroadCast(COLOR_ORANGE, text, 4);
    		SCM(id, -1, "Your FP has been changed.");
    	}
    	else
    	{
    	    SCM(playerid, COLOR_GREY, "Avabile Items: Group, Rank, Money, BankMoney, PlayedHours, PremiumPoints, PremiumAccount, FP");
    	}
    	return 1;


     

  5. On 4/12/2018 at 1:08 PM, DavidTKD said:

    Am uitat sa mentionez ca nu imi apar nici iconitele la unele case si nu prea imi dau seama de ce.

     

    Problema asta este de la Pluginul streamer 

    cauta alt GM si ia din el de la Plugin streamer.dll si streamer.so si punele iar si o sa mearga, exact acum am rezolvat problema asta asa la mine.

  6. C:\G\Samp\ultimul dat afara sintetick\samp03\gamemodes\gamemode.pwn(14256) : warning 219: local variable "string" shadows a variable at a preceding level
    C:\GI\Samp\ultimul dat afara sintetick\samp03\gamemodes\gamemode.pwn(20609) : warning 213: tag mismatch
    C:\G\Samp\ultimul dat afara sintetick\samp03\gamemodes\gamemode.pwn(20609) : warning 213: tag mismatch
    C:\G\Samp\ultimul dat afara sintetick\samp03\gamemodes\gamemode.pwn(20609) : warning 213: tag mismatch
    C:\G\Samp\ultimul dat afara sintetick\samp03\gamemodes\gamemode.pwn(63045) : warning 203: symbol is never used: "Insta"
    C:\G\Samp\ultimul dat afara sintetick\samp03\gamemodes\gamemode.pwn(63045) : warning 203: symbol is never used: "instac"
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    6 Warnings.

     

    Linia (14256)   new string[128];

    Quote

    else if(CP[playerid] == 100000) {
            if(forkcrates[playerid] == 0) return SCM(playerid, -1, "Nu ai destule cutii!");
            if(forkliftstarted[playerid] == 0) return SendClientMessage(playerid, COLOR_YELLOW, "{FFFF00}Nu ai o cursa inceputa pentru a o putea termina!");
            forkliftstarted[playerid] = 0;
            DisablePlayerCheckpoint(playerid);
            PlayerInfo[playerid][pForkliftRem] -= forkcrates[playerid];
            PlayerInfo[playerid][pForkliftTimes] += forkcrates[playerid];
            new money = PlayerInfo[playerid][pForkliftSkill] * forkcrates[playerid] * 1000 + random(10000) + 10000;
            new string[128];
            format(string, sizeof(string), "Ai terminat munca! Ai primit $%s!", FormatNumber(money));
            SCM(playerid, COLOR_GREEN, string);
            GivePlayerCash(playerid, money);
            Update(playerid, pCashx);
            DestroyVehicle(forkliftcar[playerid]);
            DestroyPlayerObject(playerid, cutie[playerid]);
            forkliftcar[playerid] = 0;
            forkcrates[playerid] = 0;
            PlayerInfo[playerid][pForkliftRem] -= 1;
            PlayerInfo[playerid][pForkliftTimes] += 1;
            Update(playerid, pForkliftTimesx);
            if(PlayerInfo[playerid][pForkliftSkill] <= 5)

    Linia ( (20609)GetPlayerPos(playerid, X, Y, Z);

    Quote

    }
    CMD:createjob(playerid, params[])
    {
        if(PlayerInfo[playerid][pAdmin] < 7) return 1;
        new name[30], minlevel, legal, string [ 128 ];
        if(sscanf(params, "s[30]ii", name, minlevel, legal)) return SendClientMessage(playerid, -1, "Syntax: /createjob <name> <min level> <legal>  0 = illegal | 1 = legal");
        if(legal < 0 || legal > 1) return SendClientMessage(playerid, -1, "Min. 0 max. 1 ( 0 = illegal | 1 = legal )");
        if(minlevel < 1 || minlevel > 5) return SendClientMessage(playerid, -1, "Min. level 1 | max level 5.");
        if(strlen(name) < 3 || strlen(name) > 29) return SendClientMessage(playerid, -1, "The job name must between into 3 and 29 characters!");
        new X, Y, Z;
        GetPlayerPos(playerid, X, Y, Z);
        SendClientMessage(playerid, -1, "[DEBUG] Job created!");
        new query [ 158 ];
        mysql_format(SQL, query, 158, "INSERT INTO `job` (Name, NeedLevel, Legal, PosX, PosY, PosZ) VALUES ('%s', '%d', '%d', '%f', '%f', '%f')", name, minlevel, legal, X, Y, Z);
        mysql_query(SQL, query);
        format(string, 128, "{FFFFFF}ID: {C00A13}Processing after server restart\n{FFFFFF}Job: {C00A13}%s\n{FFFFFF}Use {C00A13}/getjob {FFFFFF}to get job.", name);
        Create3DTextLabel(string, 0xFFFFFFFF,X, Y, Z,20.0, 0, 1);
        AddStaticPickup(1239, 23, X, Y, Z);
        return true;
    }

    Linia (63045) este  finalul Gamemodului ultima linie

  7. Salutare tuturor caut sa colaborez cu un scripter cu experienta, am de gand sa deschid o comunitate pe baza Sa-mp RPG similar cu serverele mari ,, Bugged, Nerpherite etc.."

    !!! Sunt dispus sa bag $$ atat cat va fi nevoie , Promovari etc.. fara probleme !!!

    -Am nevoie de o persoana cu Experienta avansata Scripting..

    -Sunt dispus sa platesc pentru serviciile oferite,   ,,daca este cazul facem un contract ferm de colaborare in schimbul serviciilor"

     

    Cer Seriozitate

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