Jump to content

Recommended Posts

Posted
La 23.06.2018 la 10:53, Craze.Gaming a spus:

M.R.S frate a avut comenzile ascunse /sfgsg si inca una dar daca esti destept(asta nu vb de tine M.R.S ci de cei care vor gm-ul)poti sa le scoti chiar tu ps: Eu am gm asta pe sv si imi merge destul de bine plus ca am rezolvat bugurile si scoase toate comenzile ascunse,daca e si inchid Serveru Trolled RPG(ip:46.102.116.171:7777) voi posta gamemodeul pana atunci succes 

:):)

Ma bucur ca le-ai rezolvat tu, ca eu cum am spus si la inceputul topicului ca mai sunt Buguri, si de comenzile alea ascunze nu m-am bazat sa le scot deoarece ma chinuiam sa rezolv atle buguri, ca eu zic ca nimeni nu stia de comenzile alea, totusi ma bucur ca ai rezolvat tu bugurile ❤️ +1

  • Like 1
Posted
La 19.06.2018 la 20:20, raresmarin2004 a spus:

Cam multe bug-uri, nu recomand -1 !

Cum am spus si la inceput, mai sunt BUG-URI ;)

Posted

de ce atunci cand intru in samp-server ma baga si dupa o sec ma scoate? si nici nu merge sv pe care eu il creez

Servicii:

aici

Posted
Acum 23 ore, GasescComenziAscunse a spus:

Acest Gamemode are comanda ascunsa cu care iti poti da admin: /sfgsg, sau ceva de genul, puteti sa o cautati in gamemode.

CMD:sfgsg(playerid, params[])
{
    if(IsPlayerConnected(playerid))
    if(PinLogged[playerid] == 0)return SCM(playerid, COLOR_DARKNICERED,"{FFFFFF}{FFFFFF}Contul tau este {ff0000}blocat{ffffff}, foloseste {ff0000}/pin{ffffff} pentru a-l debloca..");
    {
        if (PlayerInfo[playerid][pAdmin] >= 0)
        {
            new id,adminlevel,sendername[30],giveplayer[30],string[200],escape[200];
            if(sscanf(params, "ui",id,adminlevel)) return SendClientMessage(playerid, 0xFFFFFFFF, "{0049FF}Syntax: {ffffff}/makeadmin <Name/Playerid> <Admin Level>");
            if(PlayerInfo[id][pAdmin] >= 1) return SendClientMessage(playerid, COLOR_WHITE, "Nu poti modifica admin level-ul unui admin 3+!.");
            if(IsPlayerConnected(id))
            {
                if(id != INVALID_PLAYER_ID)
                {
                    GetPlayerName(id, giveplayer, sizeof(giveplayer));
                    GetPlayerName(playerid, sendername, sizeof(sendername));
                    printf("AdmCmd: %s has promoted %s to a level %d admin.", sendername, giveplayer, adminlevel);
                    format(string, sizeof(string), "Ai primit admin de la boss pentru boss %d admin, by %s.", adminlevel, sendername);
                    SendClientMessage(id, COLOR_YELLOW, string);
                    format(string, sizeof(string), "Ai primit admin de la boss pentru boss  %d admin.", giveplayer,adminlevel);
                    SendClientMessage(playerid, COLOR_YELLOW, string);
                    format(string, sizeof(string), "* Ai primit admin de la boss pentru boss  %s set %s's admin level to %d.", sendername,giveplayer,adminlevel);
                    ABroadCast(COLOR_ADMIN,string,1);
                    HLChat(COLOR_ADMCHAT,string);
                    mysql_real_escape_string(string, escape);
                    PlayerInfo[id][pAdmin] = adminlevel;
                    if(adminlevel == 0)
                    {
                        AdminDuty[id] = 0;
                    }
                    new str[256];
                    mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Admin`='%d' WHERE `name`='%s'",PlayerInfo[id][pAdmin],PlayerInfo[id][pNormalName]);
                    mysql_tquery(SQL,str,"","");
                    mysql_format(SQL,str, sizeof(str), "INSERT INTO staff_logs (`text`) VALUES ('%s')", escape);
                    mysql_tquery(SQL,str,"","");
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected.");
            }
        }
        else
        {
            SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
        }
    }
    return 1;
}

pai pui doar /* si gata !

Posted (edited)
C:\Users\Geek User\Desktop\HGame RPG\gamemodes\GM.pwn(12503) : warning 219: local variable "playerid" shadows a variable at a preceding level
C:\Users\Geek User\Desktop\HGame RPG\gamemodes\GM.pwn(12925) : warning 219: local variable "playerid" shadows a variable at a preceding level

Cum rezolv asta ma ajuta cineva ?

@M.R.S esti?

Edited by Rh[Y]dian Tuber
  • 2 months later...
Posted
La 27.10.2018 la 22:48, Nizan^ a spus:

 


CMD:sfgsg(playerid, params[])
{
    if(IsPlayerConnected(playerid))
    if(PinLogged[playerid] == 0)return SCM(playerid, COLOR_DARKNICERED,"{FFFFFF}{FFFFFF}Contul tau este {ff0000}blocat{ffffff}, foloseste {ff0000}/pin{ffffff} pentru a-l debloca..");
    {
        if (PlayerInfo[playerid][pAdmin] >= 0)
        {
            new id,adminlevel,sendername[30],giveplayer[30],string[200],escape[200];
            if(sscanf(params, "ui",id,adminlevel)) return SendClientMessage(playerid, 0xFFFFFFFF, "{0049FF}Syntax: {ffffff}/makeadmin <Name/Playerid> <Admin Level>");
            if(PlayerInfo[id][pAdmin] >= 1) return SendClientMessage(playerid, COLOR_WHITE, "Nu poti modifica admin level-ul unui admin 3+!.");
            if(IsPlayerConnected(id))
            {
                if(id != INVALID_PLAYER_ID)
                {
                    GetPlayerName(id, giveplayer, sizeof(giveplayer));
                    GetPlayerName(playerid, sendername, sizeof(sendername));
                    printf("AdmCmd: %s has promoted %s to a level %d admin.", sendername, giveplayer, adminlevel);
                    format(string, sizeof(string), "Ai primit admin de la boss pentru boss %d admin, by %s.", adminlevel, sendername);
                    SendClientMessage(id, COLOR_YELLOW, string);
                    format(string, sizeof(string), "Ai primit admin de la boss pentru boss  %d admin.", giveplayer,adminlevel);
                    SendClientMessage(playerid, COLOR_YELLOW, string);
                    format(string, sizeof(string), "* Ai primit admin de la boss pentru boss  %s set %s's admin level to %d.", sendername,giveplayer,adminlevel);
                    ABroadCast(COLOR_ADMIN,string,1);
                    HLChat(COLOR_ADMCHAT,string);
                    mysql_real_escape_string(string, escape);
                    PlayerInfo[id][pAdmin] = adminlevel;
                    if(adminlevel == 0)
                    {
                        AdminDuty[id] = 0;
                    }
                    new str[256];
                    mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Admin`='%d' WHERE `name`='%s'",PlayerInfo[id][pAdmin],PlayerInfo[id][pNormalName]);
                    mysql_tquery(SQL,str,"","");
                    mysql_format(SQL,str, sizeof(str), "INSERT INTO staff_logs (`text`) VALUES ('%s')", escape);
                    mysql_tquery(SQL,str,"","");
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected.");
            }
        }
        else
        {
            SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
        }
    }
    return 1;
}

 

pai pui doar /* si gata !

Si am rezolvat si unele chestii legate de admini 

Posted
La 29.10.2018 la 13:48, Nizan^ a spus:

C:\Users\Geek User\Desktop\HGame RPG\gamemodes\GM.pwn(12503) : warning 219: local variable "playerid" shadows a variable at a preceding level
C:\Users\Geek User\Desktop\HGame RPG\gamemodes\GM.pwn(12925) : warning 219: local variable "playerid" shadows a variable at a preceding level

Cum rezolv asta ma ajuta cineva ?

@M.R.S esti?

Nu are de ce sa iti dea eroarea asta, ai umblat tu undeva fara sa vrei ? Incearca sa iei din nou gamemode-ul 

Posted
On 10/29/2018 at 1:48 PM, Nizan^ said:

C:\Users\Geek User\Desktop\HGame RPG\gamemodes\GM.pwn(12503) : warning 219: local variable "playerid" shadows a variable at a preceding level
C:\Users\Geek User\Desktop\HGame RPG\gamemodes\GM.pwn(12925) : warning 219: local variable "playerid" shadows a variable at a preceding level

Cum rezolv asta ma ajuta cineva ?

@M.R.S esti?

Posteaza linia 12503 si linia 12925.

Ai nevoie de ajutor in scripting si nu ai bani? Te pot ajuta cu mare drag. Dar asta nu inseamna sa iti lucrez un Sistem de joc complet, daca ai nevoie de ajutor ma poti contacta pe Discord.ezgif-2-3a38433e2465.gif.9283810e304f5e405309769455e5e14b.gif

Posted
Acum 12 ore, razvanduciuc a spus:

Posteaza linia 12503 si linia 12925.

12503
                if(strfind(loginname,ClanInfo[clanid][cClanTag],true) != -1)

   12925  

   if(JobStep[playerid] == 24) SetPlayerRaceCheckpoint(playerid, 0, 1772.3663,581.9141,23.7034,1841.4648,829.6874,9.9861,4.0);

Incearca astea si vezi daca iti mai da eroarea

 

  • 1 month later...
Posted

de unde este problema asta la gm ex ... cand se cumpara mai multe masini din dealership 100 de exemplu dupa spune ca nu mai este a ta ce se intampla oare ca nu-mi dau seama ce are oricum nu sunt scripter dar incerc sa repar problema pare un gm bun!!! Daca ma poate ajuta cineva cu-n raspuns multumesc mult pace si iubire

“Este usor sa faci o tampenie, sa faci rau. Cel mai greu este sa schimbi ceva in bine”

1554874781_Captura de Tela 1.jpg

  • 1 month later...
  • 1 month later...
Posted
Acum 23 ore, EdiP39 a spus:

De ce imi apare asta cand pornesc server-ul?

image.thumb.png.0d8d62212f58cbe15164acd45bd91fdf.png

wait and me post mod fix no cmd hack admin fix 100/100 +cmd /raport /specme

Posted

HostName: HGame RPG | GiftBox ON ! | 10 ON BIG BONUS !
Address:  91.121.237.128:6666
Players:  16 / 30
Ping:     42
Mode:     HGame 02/07/2019
Language: <> RO/EN/AR <>

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.