Jump to content

Uzzi25

Membru
  • Posts

    245
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Uzzi25

  1. Acum 15 minute, ★♕ Manu ★♕ a spus:

    Da bun,dar poate un player nu are definit pAdmin sau in baza "users" poate un player in loc de users are accounts sau players,ce faci trb sa stai la fiecare in parte sa le explici ce si cum.

    La asta nu m-am gandit :)))

    Cer sa se stearga topicul de un moderator revin cu alte tutoriale 

  2. Acum 12 minute, S1meD a spus:

    Te-as ruga sa stergi acest "tutorial" deoarece fiecare incepator are un GM pe care incepe, tu cu acest tutorial mai mult ii incurci.

    Nu cred ca ii incurc sunt doar niste comenzi ca tot am vazut la ajutor scropting ca cer ajutor pentru comanda x sau y asa ca le dau comenzile direct gata :D

  3. Salut am observat ca nu multi stiu sa faca sau sa gasesca o anume comanda asa ca astazi va las mai jos cateva comenzi.

    ATENTIE!Acest tutorial este pentru incepatori.

    Unele comenzi sunt pe MYSQL

    Comanda /GOTO:

    Spoiler

    CMD:goto(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
        if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 3)
        {
            new id,string[256],sendername[30],giveplayer[30];
            if(sscanf(params, "u", id)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF9900}Scrie: {33CCFF}/goto <Name/Playerid>");
            {
                if(id != INVALID_PLAYER_ID)
                {
                    new Float:ax,Float:ay,Float:az;
                    GetPlayerPos(playerid,ax,ay,az);
                    posxxx[playerid] = ax;
                    posyyy[playerid] = ay;
                    poszzz[playerid] = az;
                    new Float:x, Float:y, Float:z;
                    GetPlayerPos(id, x, y, z);
                    new tmpcar = GetPlayerVehicleID(playerid);
                    if (GetPlayerState(playerid) == 2)
                    {
                        SetVehiclePos(tmpcar, x, y+4, z);
                    }
                    else
                    {
                        SetPlayerPosEx(playerid,x,y+2, z);
                    }
                    SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(id));
                    SetPlayerInterior(playerid, GetPlayerInterior(id));
                    if(InHouse[id] > 0)
                    {
                        InHouse[playerid] = InHouse[id];
                        if(strlen(housestring[InHouse[playerid]]) > 0)
                        {
                            StopAudioStreamForPlayer(playerid);
                            PlayAudioStreamForPlayer(playerid, housestring[InHouse[playerid]]);
                        }
                    }
                    if(InHQ[id] > 0)
                    {
                        InHQ[playerid] = InHQ[id];
                    }
                    if(InBussines[id] > 0)
                    {
                        InBussines[playerid] = InBussines[id];
                    }
                    GetPlayerName(playerid,sendername,sizeof(sendername));
                    GetPlayerName(id,giveplayer,sizeof(giveplayer));
                    format(string,sizeof(string),"You have been teleported to %s.",giveplayer);
                    SendClientMessage(playerid, COLOR_GRAD1, string);
                    format(string,sizeof(string),"Admin %s teleported to you.",sendername);
                    SendClientMessage(id, COLOR_GRAD1, string);
                    format(string,sizeof(string),"AdmCmd: %s used /goto on %s.",sendername,giveplayer);
                    if(PlayerInfo[id][pAdmin] > 0 || PlayerInfo[id][pHelper] > 0)
                    {
                        ABroadCast(COLOR_YELLOW,string,1);
                    }
                    Adminlog(string);
                }
                else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected.");
            }
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "{5CAD5C}Error: Your admin/helper level isn't high enough to use this command.");
        }
        return 1;
    }

    Comanda /GETHERE:

    Spoiler

    CMD:gethere(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
        if(IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] >= 1)
            {
                new plo,sendername[30],giveplayer[30],string[256];
                if(sscanf(params, "u",plo)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF9900}Scrie: {33CCFF}/gethere <Name/Playerid>");
                new Float:plocx,Float:plocy,Float:plocz;
                if (IsPlayerConnected(plo))
                {
                     if(plo != INVALID_PLAYER_ID)
                    {
                        GetPlayerPos(playerid, plocx, plocy, plocz);
                        SetPlayerInterior(plo,GetPlayerInterior(playerid));
                        PlayerInfo[plo][pInt] = PlayerInfo[playerid][pInt];
                        PlayerInfo[plo][pLocal] = PlayerInfo[playerid][pLocal];
                        if (GetPlayerState(plo) == 2)
                        {
                            TelePos[plo][0] = 0.0;
                            TelePos[plo][1] = 0.0;
                            new tmpcar = GetPlayerVehicleID(plo);
                            SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
                        }
                        else
                        {
                            SetPlayerPosEx(plo,plocx,plocy+2, plocz);
                        }
                        if(InHouse[playerid] > 0)
                        {
                            InHouse[plo] = InHouse[playerid];
                            if(strlen(housestring[InHouse[plo]]) > 0)
                            {
                                StopAudioStreamForPlayer(plo);
                                PlayAudioStreamForPlayer(plo, housestring[InHouse[plo]]);
                            }
                        }
                        if(InHQ[playerid] > 0)
                        {
                            InHQ[plo] = InHQ[playerid];
                        }
                        if(InBussines[playerid] > 0)
                        {
                            InBussines[plo] = InBussines[playerid];
                        }
                        SetPlayerVirtualWorld(plo, GetPlayerVirtualWorld(playerid));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        GetPlayerName(plo, giveplayer, sizeof(giveplayer));
                        format(string,sizeof(string),"You have teleported %s to you.",giveplayer);
                        SendClientMessage(playerid, COLOR_GRAD1, string);
                        format(string,sizeof(string),"You have been teleported by admin %s.",sendername);
                        SendClientMessage(plo, COLOR_GRAD1, string);
                        format(string,sizeof(string),"AdmCmd: %s used /gethere on %s.",sendername,giveplayer);
                        if(PlayerInfo[plo][pAdmin] > 0 || PlayerInfo[plo][pHelper] > 0)
                        {
                            ABroadCast(COLOR_YELLOW,string,1);
                        }
                        Adminlog(string);
                    }
                }
                else
                {
                    SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected.");
                }
            }
            else
            {
                    SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
            }
        }
        return 1;
    }

    Comanda /BAN:

    Spoiler

    CMD:ban(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
        if(IsPlayerConnected(playerid))
         {
            if (PlayerInfo[playerid][pAdmin] >= 1)
            {
                new id,reason[128],string[200],giveplayer[30],sendername[30],days,str[1400],playerip[16],year,month,day,hour,minute,second,time;
                if(sscanf(params, "uds[128]", id,days,reason)) return SCM(playerid,COLOR_WHITE,"{FF9900}Scrie: {33CCFF}/ban <Name/Playerid> <days(0=permanent)> <reason>");
                if(days < 0) return SCM(playerid,COLOR_WHITE,"{FF9900}Scrie: {33CCFF}/ban <Name/Playerid> <days(0=permanent)> <reason>");
                if(IsPlayerConnected(id))
                {
                    if(id != INVALID_PLAYER_ID)
                    {
                        getdate(year, month, day);
                        gettime(hour, minute, second);
                           GetPlayerName(id, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        GetPlayerIp(id, playerip, sizeof(playerip));
                        if(PlayerInfo[id][pAdmin] >= PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "You can't ban a higher (or equal) level administrator.");
                        if(days == 0)
                        {
                            format(string,sizeof(string),"Ban: %s has been permanent banned by %s, reason: %s.",giveplayer,sendername,reason);
                            SendClientMessageToAll(COLOR_LIGHTRED, string);
                            mysql_format(SQL,str,sizeof(str),"INSERT INTO bans (PlayerName, AdminName, Reason, IP, Days, IPBan, Permanent, Active, Time) VALUES('%s', '%s', '%s', '%s', 0, 0, 1, 1, 0)",
                            PlayerInfo[id][pNormalName],PlayerInfo[playerid][pNormalName],reason,playerip);
                            mysql_tquery(SQL,str,"","");
                            new var100[256];
                            mysql_format(SQL, var100, sizeof(var100), "INSERT INTO punishlogs (`playerid`,`giverid`,`actionid`,`actiontime`,`reason`,`playername`,`givername`) VALUES ('%d','%d','1','0','%s','%s','%s')", PlayerInfo[id][pSQLID],PlayerInfo[playerid][pSQLID],reason,giveplayer,sendername);
                            mysql_tquery(SQL,var100,"","");
                            KickEx(id);
                        }
                        if(days > 0)
                        {
                            time = gettime() + (days*86400);
                            format(string,sizeof(string),"Ban: %s has been banned by %s for %d days, reason: %s.",giveplayer,sendername,days,reason);
                            SendClientMessageToAll(COLOR_LIGHTRED, string);
                            mysql_format(SQL,str,sizeof(str),"INSERT INTO bans (PlayerName, AdminName, Reason, IP, Days, IPBan, Permanent, Active, Time) VALUES('%s', '%s', '%s', '%s', %d, 0, 0, 1, %d)",
                            PlayerInfo[id][pNormalName],PlayerInfo[playerid][pNormalName],reason,playerip,days,time);
                            mysql_tquery(SQL,str,"","");
                            new var100[256];
                            mysql_format(SQL, var100, sizeof(var100), "INSERT INTO punishlogs (`playerid`,`giverid`,`actionid`,`actiontime`,`reason`,`playername`,`givername`) VALUES ('%d','%d','2','%d','%s','%s','%s')", PlayerInfo[id][pSQLID],PlayerInfo[playerid][pSQLID],days,reason,giveplayer,sendername);
                            mysql_tquery(SQL,var100,"","");
                            KickEx(id);
                        }
                    }
                }
                else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected.");
            }
            else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
        }
        return 1;
    }

    Comanda /UNBAN:

    Spoiler

    CMD:unban(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
        if(IsPlayerConnected(playerid))
         {
            if(PlayerInfo[playerid][pAdmin] >= 5)
            {
                new id[30],cont,str1[256],string[128],sendername[30],qstr[256];
                if(sscanf(params, "s[30]", id)) return SCM(playerid,COLOR_WHITE,"{FF9900}Scrie: {33CCFF}/unban <Name>");
                cont = MySQLCheckAccount(id);
                if(cont == 0) return SCM(playerid,COLOR_WHITE,"{FFB870}This name does not exist.");
                format(qstr,sizeof(qstr),"SELECT * FROM bans WHERE `PlayerName`='%s' AND `Active`='1'",id);
                new Cache: banuri = mysql_query(SQL,qstr);
                if(cache_get_row_count() > 0)
                {
                    GetPlayerName(playerid, sendername, sizeof(sendername));
                    format(string,sizeof(string),"AdmCmd: %s has unbanned user %s.",sendername,id);
                    ABroadCast(COLOR_RED2, string,1);
                    mysql_format(SQL,str1,sizeof(str1),"UPDATE bans SET `Active`='0' WHERE `PlayerName`='%s'",id);
                    mysql_tquery(SQL,str1,"","");
                }
                else
                {
                    SendClientMessage(playerid, COLOR_LIGHTRED, "This player is not banned.");
                }
                cache_delete(banuri);
            }
            else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
        }
        return 1;
    }

    Comanda /O:

    Spoiler

    CMD:o(playerid,params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
        if(PlayerInfo[playerid][pAdmin] >= 1)
        {
            new text[250],string[250],sendername[25];
            if(sscanf(params, "s[250]",text)) return SendClientMessage(playerid, COLOR_WHITE, "{FF9900}Scrie: {33CCFF}/o <Message>");
            GetPlayerName(playerid,sendername,sizeof(sendername));
            if(PlayerInfo[playerid][pAdmin] >= 1)
            {
                format(string, sizeof(string), "(( %s says: %s ))", sendername, text);
                OOCOff(COLOR_GENANNOUNCE,string);
            }
            printf("%s", string);
        }
        return 1;
    }

    Comanda /A:

    Spoiler

    CMD:a(playerid,params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
        if(IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] > 0)
            {
                new string[250],result[250],sendername[25];
                if(sscanf(params, "s[250]",result)) return SendClientMessage(playerid, COLOR_WHITE, "{FF9900}Scrie: {33CCFF}/a <Message>");
                   GetPlayerName(playerid, sendername, sizeof(sendername));
                if(PlayerInfo[playerid][pAdmin] > 0)
                {
                    format(string, sizeof(string), "(%d) Admin %s: %s", PlayerInfo[playerid][pAdmin], sendername, result);
                }
                ABroadCast(COLOR_ADMCHAT, string,1);
            }
            else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
        }
        return 1;
    }

    Comanda /SETSKIN:

    Spoiler

    CMD:setskin(playerid,params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
        if(IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] >= 5)
            {
                new para1,level,string[128],giveplayer[25],sendername[25];
                if(sscanf(params, "ud",para1,level)) return SendClientMessage(playerid, COLOR_WHITE, "{FF9900}Scrie: {33CCFF}/setskin <Name/Playerid> <Skin ID>");
                if(level < 0 || level > 311) return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}Wrong skin ID(0-311).");
                if(IsPlayerConnected(para1))
                {
                    if(para1 != INVALID_PLAYER_ID)
                    {
                        GetPlayerName(para1, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        PlayerInfo[para1][pModel] = level;
                        format(string, sizeof(string), "Your skin has been changed by Admin %s", sendername);
                        SendClientMessage(para1, COLOR_WHITE, string);
                        format(string, sizeof(string), "You have given %s skin to %d.", giveplayer,level);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        SetPlayerSkin(para1, PlayerInfo[para1][pModel]);
                        new str2[128];
                        mysql_format(SQL,str2,sizeof(str2),"UPDATE users SET `Money`='%d',`Model`='%d' WHERE `name`='%s'",GetPlayerCash(playerid),PlayerInfo[para1][pModel],PlayerInfo[para1][pNormalName]);
                        mysql_tquery(SQL,str2,"","");
                    }
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
            }
        }
        return 1;
    }

    Comanda /ID:

    Spoiler

    CMD:id(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
        if(IsPlayerConnected(playerid))
        {
            new id[30], giveplayer[150], sstring[256], name[30], find=0, idd;
            if(sscanf(params, "s[30]", id)) return SendClientMessage(playerid, 0xFFFFFFFF,"{FF9900}Scrie: {33CCFF}/id <Name/Playerid>");
            {
                if(IsNumeric(id))
                {
                    idd = strval(id);
                    if(IsPlayerConnected(idd))
                    {
                        if(idd != INVALID_PLAYER_ID)
                        {
                            if(PlayerInfo[idd][pSleeping] == 1)
                            {
                                if(PlayerInfo[idd][pClanTag] == 0)
                                {
                                    format(giveplayer, sizeof(giveplayer),"%s", PlayerInfo[idd][pNormalName]);
                                }
                                if(PlayerInfo[idd][pClanTag] == 1)
                                {
                                    format(giveplayer, sizeof(giveplayer),"{FFFF00}%s{CECECE}%s", ClanInfo[PlayerInfo[idd][pClan]][cClanTag], PlayerInfo[idd][pNormalName]);
                                }
                                if(PlayerInfo[idd][pClanTag] == 2)
                                {
                                    format(giveplayer, sizeof(giveplayer),"%s{FFFF00}%s{CECECE}", PlayerInfo[idd][pNormalName], ClanInfo[PlayerInfo[idd][pClan]][cClanTag]);
                                }
                                if(PlayerInfo[idd][pRank] > 0)
                                {
                                    format(sstring, sizeof(sstring), "(%d) %s | Level: %d | Faction: %s (rank %d) | Ping: %d | FPS: %d",idd,giveplayer,PlayerInfo[idd][pLevel],NumeFactiune(PlayerInfo[idd][pMember]),PlayerInfo[idd][pRank],GetPlayerPing(idd),PlayerInfo[idd][pFPS]);
                                    SendClientMessage(playerid, COLOR_GREY, sstring);
                                }
                                else
                                {
                                    format(sstring, sizeof(sstring), "(%d) %s | Level: %d | Faction: None | Ping: %d | FPS: %d",idd,giveplayer,PlayerInfo[idd][pLevel],GetPlayerPing(idd),PlayerInfo[idd][pFPS]);
                                    SendClientMessage(playerid, COLOR_GREY, sstring);
                                }
                            }
                            else
                            {
                                if(PlayerInfo[idd][pClanTag] == 0)
                                {
                                    format(giveplayer, sizeof(giveplayer),"%s", PlayerInfo[idd][pNormalName]);
                                }
                                if(PlayerInfo[idd][pClanTag] == 1)
                                {
                                    format(giveplayer, sizeof(giveplayer),"{FFFF00}%s{FFFFFF}%s", ClanInfo[PlayerInfo[idd][pClan]][cClanTag], PlayerInfo[idd][pNormalName]);
                                }
                                if(PlayerInfo[idd][pClanTag] == 2)
                                {
                                    format(giveplayer, sizeof(giveplayer),"%s{FFFF00}%s{FFFFFF}", PlayerInfo[idd][pNormalName], ClanInfo[PlayerInfo[idd][pClan]][cClanTag]);
                                }
                                if(PlayerInfo[idd][pRank] > 0)
                                {
                                    format(sstring, sizeof(sstring), "(%d) %s | Level: %d | Faction: %s (rank %d) | Ping: %d | FPS: %d",idd,giveplayer,PlayerInfo[idd][pLevel],NumeFactiune(PlayerInfo[idd][pMember]),PlayerInfo[idd][pRank],GetPlayerPing(idd),PlayerInfo[idd][pFPS]);
                                    SendClientMessage(playerid, COLOR_WHITE, sstring);
                                }
                                else
                                {
                                    format(sstring, sizeof(sstring), "(%d) %s | Level: %d | Faction: None | Ping: %d | FPS: %d",idd,giveplayer,PlayerInfo[idd][pLevel],GetPlayerPing(idd),PlayerInfo[idd][pFPS]);
                                    SendClientMessage(playerid, COLOR_WHITE, sstring);
                                }
                            }
                        }
                    }
                    else return SendClientMessage(playerid, COLOR_WHITE, "Player not connected.");
                }
                else
                {
                    foreach(Player, i)
                    {
                        if(IsPlayerConnected(i))
                        {
                            if(find < 10)
                            {
                                GetPlayerName(i, name, sizeof(name));
                                if(strfind(name, id, true) != -1)
                                {
                                    if(PlayerInfo[pSleeping] == 1)
                                    {
                                        if(PlayerInfo[pClanTag] == 0)
                                        {
                                            format(giveplayer, sizeof(giveplayer),"%s", PlayerInfo[pNormalName]);
                                        }
                                        if(PlayerInfo[pClanTag] == 1)
                                        {
                                            format(giveplayer, sizeof(giveplayer),"{FFFF00}%s{CECECE}%s", ClanInfo[PlayerInfo[pClan]][cClanTag], PlayerInfo[pNormalName]);
                                        }
                                        if(PlayerInfo[pClanTag] == 2)
                                        {
                                            format(giveplayer, sizeof(giveplayer),"%s{FFFF00}%s{CECECE}", PlayerInfo[pNormalName], ClanInfo[PlayerInfo[pClan]][cClanTag]);
                                        }
                                        if(PlayerInfo[pRank] > 0)
                                        {
                                            format(sstring, sizeof(sstring), "(%d) %s | Level: %d | Faction: %s (rank %d) | Ping: %d | FPS: %d",i,giveplayer,PlayerInfo[pLevel],NumeFactiune(PlayerInfo[pMember]),PlayerInfo[pRank],GetPlayerPing(i),PlayerInfo[pFPS]);
                                            SendClientMessage(playerid, COLOR_GREY, sstring);
                                        }
                                        else
                                        {
                                            format(sstring, sizeof(sstring), "(%d) %s | Level: %d | Faction: None | Ping: %d | FPS: %d",i,giveplayer,PlayerInfo[pLevel],GetPlayerPing(i),PlayerInfo[pFPS]);
                                            SendClientMessage(playerid, COLOR_GREY, sstring);
                                        }
                                    }
                                    else
                                    {
                                        if(PlayerInfo[pClanTag] == 0)
                                        {
                                            format(giveplayer, sizeof(giveplayer),"%s", PlayerInfo[pNormalName]);
                                        }
                                        if(PlayerInfo[pClanTag] == 1)
                                        {
                                            format(giveplayer, sizeof(giveplayer),"{FFFF00}%s{FFFFFF}%s", ClanInfo[PlayerInfo[pClan]][cClanTag], PlayerInfo[pNormalName]);
                                        }
                                        if(PlayerInfo[pClanTag] == 2)
                                        {
                                            format(giveplayer, sizeof(giveplayer),"%s{FFFF00}%s{FFFFFF}", PlayerInfo[pNormalName], ClanInfo[PlayerInfo[pClan]][cClanTag]);
                                        }
                                        if(PlayerInfo[pRank] > 0)
                                        {
                                            format(sstring, sizeof(sstring), "(%d) %s | Level: %d | Faction: %s (rank %d) | Ping: %d | FPS: %d",i,giveplayer,PlayerInfo[pLevel],NumeFactiune(PlayerInfo[pMember]),PlayerInfo[pRank],GetPlayerPing(i),PlayerInfo[pFPS]);
                                            SendClientMessage(playerid, COLOR_WHITE, sstring);
                                        }
                                        else
                                        {
                                            format(sstring, sizeof(sstring), "(%d) %s | Level: %d | Faction: None | Ping: %d | FPS: %d",i,giveplayer,PlayerInfo[pLevel],GetPlayerPing(i),PlayerInfo[pFPS]);
                                            SendClientMessage(playerid, COLOR_WHITE, sstring);
                                        }
                                    }
                                    find ++;
                                }
                            }
                        }
                    }
                    if(find == 0) return SendClientMessage(playerid, COLOR_WHITE, "Player not connected.");
                }
            }
        }
        return 1;
    }

    Aceasta este prima parte revin in curand cu a doua si cu mai multe comenzi !

  4. Incearca asta 

    Spoiler

    CMD:goto(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
        if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 3)
        {
            new id,string[256],sendername[30],giveplayer[30];
            if(sscanf(params, "u", id)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF9900}Scrie: {33CCFF}/goto <Name/Playerid>");
            {
                if(id != INVALID_PLAYER_ID)
                {
                    new Float:ax,Float:ay,Float:az;
                    GetPlayerPos(playerid,ax,ay,az);
                    posxxx[playerid] = ax;
                    posyyy[playerid] = ay;
                    poszzz[playerid] = az;
                    new Float:x, Float:y, Float:z;
                    GetPlayerPos(id, x, y, z);
                    new tmpcar = GetPlayerVehicleID(playerid);
                    if (GetPlayerState(playerid) == 2)
                    {
                        SetVehiclePos(tmpcar, x, y+4, z);
                    }
                    else
                    {
                        SetPlayerPosEx(playerid,x,y+2, z);
                    }
                    SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(id));
                    SetPlayerInterior(playerid, GetPlayerInterior(id));
                    if(InHouse[id] > 0)
                    {
                        InHouse[playerid] = InHouse[id];
                        if(strlen(housestring[InHouse[playerid]]) > 0)
                        {
                            StopAudioStreamForPlayer(playerid);
                            PlayAudioStreamForPlayer(playerid, housestring[InHouse[playerid]]);
                        }
                    }
                    if(InHQ[id] > 0)
                    {
                        InHQ[playerid] = InHQ[id];
                    }
                    if(InBussines[id] > 0)
                    {
                        InBussines[playerid] = InBussines[id];
                    }
                    GetPlayerName(playerid,sendername,sizeof(sendername));
                    GetPlayerName(id,giveplayer,sizeof(giveplayer));
                    format(string,sizeof(string),"You have been teleported to %s.",giveplayer);
                    SendClientMessage(playerid, COLOR_GRAD1, string);
                    format(string,sizeof(string),"Admin %s teleported to you.",sendername);
                    SendClientMessage(id, COLOR_GRAD1, string);
                    format(string,sizeof(string),"AdmCmd: %s used /goto on %s.",sendername,giveplayer);
                    if(PlayerInfo[id][pAdmin] > 0 || PlayerInfo[id][pHelper] > 0)
                    {
                        ABroadCast(COLOR_YELLOW,string,1);
                    }
                    Adminlog(string);
                }
                else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected.");
            }
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "{5CAD5C}Error: Your admin/helper level isn't high enough to use this command.");
        }
        return 1;
    }

     

  5. Salutare astazi revin cu o nua mapa.

    Aceasta Mapa este buna pentru un party pe plaja LS.

    TIMP DE LUCRU: 20-30 de minute

    POZE:

    QBePPC4.png

    ZeN4xwt.jpg

    LhuaeRh.png

    M-AM GANDIT SA ADAUG SI UN LOC DE UNDE POTI SA VEZI APUSUL:

    APEOctu.png

    Este ceva simplu eu asa lucrez :D 

    DOWNLAOD:

     

     

    MAP-PLAJA.pwn

     

  6. Acum 26 minute, ★♕ Manu ★♕ a spus:

    Dovada?Plm eu tot de justred stiam ca e editul dar...sa vedem dovezi si te credem

     

     

     

    ps: Pentru cei care il downloadeaza atentie la Domnitorii  Moldovei :)) 

    Si eu tot de JustRed stiam si se vede si in una din poze numele lui !

    Cat despre Gamemode Frumos imi place sistemul de aplicati :D

  7. La 29.04.2016 la 21:55, Extremys a spus:

    Iti recomand sa definestii toate erorile la care scrie:

    
    error 017: undefined symbol "virtuallevent"

     

  8.                                                                                                            COD6

    Nu detin credite pentru acest scripting/job/gamemode/server !!        Eu doar le pun pentru Playeri Noi !!!

    IMPORTANT:

    Quote:
    Originally Posted by Excel™ View Post
    The development of this gamemode was stopped from v3. 
    Reasons:
    - This was coded quiet early with some useless implimentations.
    - Some bugs still alive

    If you want to still ask or spam my P.M. Log, I won't reply. But, there will be a new COD Gamemode on this forums lately(by Gammix and few stuff by me).

    You can edit this, do whatever but keep credits. Ask before doing anything(mainly re-releasing).



    Working on COD7 finished, Check out the link: http://forum.sa-mp.com/showthread.ph...62#post3156062.

    Quick update: /Changename added to the script on request of gogokickup

    UPDATE 3.0

    Code:
    • Fixed the base kill (Anti-Base-Rape).
    • Fixed the team player counts. No negatives now.
    • Fixed online operators list.
    • Still found more bugs, Report through a reply.

    UPDATE 2.0

    Code:
    • Fixed the kills and deaths bug.
    • Added a new sprite in textdraws. (A new wallpaper)
    • Fixed the sscanf bugs.
    • Admin imune system upgraded.

    FEATURES

    • New dynamic and advance Admin system created by Me (Not any admin system edit)
    • Capture zone system
    • Total of 10 zones for capture and 5 bases
    • New mercenary system
    • Anti-Team kill & Hit indicator
    • Sounds added from the COD Waw.
    • Dialog team and class selection
    • Class selection and base selection
    • /Sc = Switch Class | /St = Switch Team | /SS = Switch Spawn
    • Dynamic map icons for capture zones
    • Admin system fully made by me
    • Airstrike system
    • Nuke & Anthrax system
    • Anti-base kills for hydras and hunters and Tanks
    • Textdraws made very intractive
    • No skills system /Skill = X
    • Killing spree system
    • Dynamic maps (Credits to COD Waw)
    • Animation system
    • Warlord weapons system (/Myweaps) - For prestige
    • Deathmatch stadium And base briefcase system
    • African class new mods
    • Laserlight system with colors
    • Admin - Event creator menu (/Emenu)
    • Admin Special commands related to the server.
    • Anti-Spawn kill system'
    • Private message system and DND
    • Admin can read PMs
    • The server is ready to host.... Enjoy
    • Auto base - rape and spawn kill system
    • Weapon shop at base
    • Music player added for /Mp3
    • Kills detector tells your spree and earns
    • Spree system with for rewards and bonuses
    • Server Setting:
      Code:
      #define 	SKIN_ID 		150
      #define 	START_MONEY 	1000
      #define 	INI_Exists(%0)  fexist(%0)
      #define 	MAX_PING 		500
      #define 	PING_KICK 		2000
      #define 	MAX_CARS  		100
      #pragma		tabsize 		0
      #define     OPERATOR        -1
      
      //Second settings
      #define 	UserPath 		"COD6/Users/%s.ini"
      #define 	SavePath 		"COD6/Admins/Position-Saver/%s.ini"
      #define 	Player_File 	"COD6/Admins/Users/%s.ini"
      #define     ServerName      "Golden Warfare"
      #define     SERVER_OWNER    "Excel"
      #define     SERVER_WEBSITE  "www.Sampstore.webs.com"







    IMAGES
    xnbzf04.jpg
    nyPrlAT.jpg
    rC7VBXX.jpg
    ffA4dUw.jpg
    8UE6KbG.jpg
    BNGU1Za.jpg
    FInqMi8.jpg
    6zkVS05.jpg
    YfHsovI.jpg
    Ct4Pmtp.jpg
    s2rH2Us.jpg
    C4hdlsS.jpg
    0hEtnnV.jpg
    KYxq4kx.jpg
    l31U9Rl.jpg







    CREDITS
    • Insulin - For sounds
    • Lolumadd - For the capture zone help
    • Y_Less - Includes
    • Zeex - ZCMD is awesome
    • SAMP team for Samp
    • Hero_Dx, OfficerSammy, Sachin - For testing
    • Excel - For making the whole script from Scratch







    DOWNLOAD
    This is full cod6 folder with all the: Includes, Plugins, Gamemode, Source, Server.cfg. 
    Just run the server and if hosting then contact me.. (Via PM)

    SOLIDFILES

     

     

     

    Nu doresc +1 pentru aceasta postare deoarece nu imi apartin creditle 

    • Like 1
  9. Nu detin credite pentru acest scripting/job/gamemode/server !!                           

      zombiehell.png


    Zombie Hell is a simple freeroam gamemode based on killing zombies and being aware of players that want to you kill you the script includes many simple features, but it doesn't include very LARGE features, it's basically plug in and play with friends it's mostly recommended to run on an LAN server with 400 zombies it'll BE fun, of course you can always decrease the max amount of zombies, but it's mostly recommended to have 400 zombies and atleast 100 player slots.

    I've been inactive lately, mostly due to life issues I've decided to release this gamemode it's medium wise created, meaning it's not the best scripting you'll see or the worst It's optimized and it should run well with 30-50 players Also, I'll do the best I can to support this gamemode to you guys smile.png

    featureszh.png

    Zombie AI - The zombie AI system is simple using the FCNPC plugin be aware the zombies run bandwidth meaning running this gamemode on public server will eat your bandwidth quickly if you don't got enough! The Zombie AI system detects you in range, if not in range it continues moving in Los Santos, which the gamemode is only based on!

    Factions - The faction system is not dynamic and it's PRE-defined in the script, just to let that slide and everyone knows, there are three factions which are purchasable through the shop menu, each of them cost specific amount of zMoney and their saved to your user data and automatically spawn after dying/reconnecting, each faction has it's own spawn.
     

    Code:
    Rebels - Grove Sreet
    US Army - LSPD
    Earth Defense Force - LS Docks

    Although it is possible to add your own factions, just look through the script you'll get the idea.

    Server Side Health/Skin hit detection - The gamemode has pre-defined damages based on original SA:MP/GTA SA damages that changes your health into a per player variable it ALSO saves your health just like a normal health system.

    The gamemode uses OnPlayerGiveDamage which means you hit the skin, you damage the zombie/player also, to prevent nooblets using joypad search SA:MP forum for anti-joypad.

    Admin System - The gamemode includes my latest administrator system that I use in most of my gamemodes such as DayZ, Zombie Mode etc it includes variety of commands, you can view the admin commands via /acmds (max admin level is 5 use /setlevel [playerid] [level])

    Level/XP/Rank - The gamemode includes simple system to find out how the system works check under ZombieHell/Functions or ZombieHell/GeneralDefines

    gameplayzh.png


    https://www.youtube.com/watch?v=1zDjk-QSmiM
     

    pluginszh.png

    REQUIRED PLUGINS/INCLUDES TO MAKE THE GAMEMODE RUN



    Plugins 

    sscanf 2.8.1 http://forum.sa-mp.com/showthread.php?t=120356
    streamer 2.6.1 http://forum.sa-mp.com/showthread.php?t=102865
    Whirlpool http://forum.sa-mp.com/showthread.php?t=65290
    FCNPC https://fcnpc.googlecode.com/files/FCNPC.rar

    Includes

    Blazing User DB http://forum.sa-mp.com/showthread.php?t=187720
    Zeex Command Processor (ZCMD) http://forum.sa-mp.com/showthread.php?t=91354
    Y_Less timers (Y_Timers) http://forum.sa-mp.com/showthread.php?t=182948
    Progress Bar http://forum.sa-mp.com/showthread.php?t=113443

     

    downloadzh.png

    --- UPDATED - RECOMMENDED 0.3.7+ V0.2 ---

    http://pgagaming.net/resources/downl...bieHell_DL.rar

    --- OUT DATED - NOT RECOMMENDED V0.1 ---

    https://github.com/AldenJ/ZombieHellSA

    FULL PACKAGE: http://pgagaming.net/resources/gamemodes.rar (gamemodes + libraries)

    V0.2 PICTURES:

    43a2e8d6d8fedc57834ee96ca9a69c6a.png
    4a58ba177caec15796e03a41338a3b76.png
    Nu doresc +1 pentru aceasta postare deoarece nu imi apartin creditle 
  10.                                                                                             2dturfo.png

    Autor Original:XtremeR

    Features:

    •  
    • a Ferry Which goes to an Island mapped by me and very big
    • Fully MySQL GameMode
    • Dialog Based Teams!
    • Admin System
    • Vip System
    • Pizza Team
    • Tow Truck team
    • Pilot Team
    • Police Team
    • Trucker Team
    • Bus Driver team
    • Taxi Driver Team
    • Yini Saving System
    • Fine System
    • Arrest System
    • Find System
    • House System With over 1020+ Houses Already Made
    • Fuel System
    • Many Textdraws Which Make The Gm look Very nice
    • No bugs At All
    • Many Trucking Jobs
    • Many Pizza Jobs
    • Many Tow Trucking Jobs
    • Many Bus Driver Jobs
    • Many Taxi jobs
    • Register System
    • Login System
    • Airport System
    • Many Bases
    • 6+ Classes
    • Score Saving System
    • Money Saving System
    • Admin Saving System
    • Vip level Sacing system
    • need 100 score For Police
    • rent able house
    • property system
    • need 500 score For Police
    • Speedo Meter System
    • Work Textdraw
    • Class Textdraw
    • Vehicle Textdraw Showing Speed,Fuel
    • House Lock System
    • House Un-Lock System
    • House Car System
    • Music At Class Menu, Every time a new Song!
    • Now you can see location of Ferry Easily! with /map command
    • You can go home simply on every spawn by /gohome
    • now you can get Rent faster and easier with /getrent command
    • Admin Chat (With #)
    • Groups System
    • Mobile Phone System
    • House Phone System
    • Can deposit Cash / Guns in ur House car or Home!
    • Can give keys of your house!
    • Y INI House system!

    Commands:

    • /detach,
    • /stopwork,
    • /work,
    • /me,
    • /pm
    • /dnd
    • /flip
    • /kill
    • /credits
    • /weather
    • /time
    • /admins
    • /changepass
    • /stats
    • /cmds
    • /enter
    • /unlockdoor
    • /buyhouse
    • /housestats
    • /home
    • /park
    • /enter
    • /groupinfo
    • /lockdoor
    • /hcarwithdraw
    • /mycmds
    • /exit
    • /find
    • /fine
    • /arrest
    • /grouprestart
    • /checksafe
    • /switchclass
    • /buyhouse
    • /sell
    • /enter
    • /exit
    • /groups
    • /ghelp
    • /g
    • /findmycar
    • /house
    • /groupaccept
    • /hdeposit
    • /withdraw
    • /hputgun
    • /htakegun
    • /hcar
    • /renthouse
    • /unrenthouse
    • /groupkick
    • /creategroup
    • /groupinvite
    • /payrent
    • /hcardeposit
    • /hcarputgun
    • /hcartakegun
    • /hcarpark
    • /hcarcolor
    • /hphone
    • /hrobhouse
    • /givekey
    • /myhouse
    • /answeronphone
    • /changespawn
    • /hupgrade
    • /register
    • /login
    • /rank
    • /ranks

      Admin Commands:
    • /getinfo
    • /ip
    • /text
    • /spec
    • /specoff
    • /slap
    • /freeze
    • /unfreeze
    • /mute
    • /unmute
    • /warn
    • /kick
    • /skick
    • /ban
    • /setscore
    • /setcash
    • /settime
    • /akill
    • /spawn
    • /heal
    • /armour
    • /sban
    • /force
    • /veh
    • /giveweapon
    • /healall
    • /freezeall
    • /armourall
    • /spawnall
    • /disarmall
    • /forceall
    • /kickall
    • /setlevel

    Ce este Nou?:

    • V 2:
    • MySQL System with alot of saving stuff and so much things!
    • Everything is in MySQL
    • Groups System
    • New admin System with alot of Features and Commands!
    • New House System Much Easier better!
    • Auto Login System !
    • Give keys system
    • Can Store your Weapons / Cash in house car or House!
    • New House Car System
    • Alot of bugs fixed, no bug at all now!
    • MySQL Running Fast Good Better
    • House Labels better than ever!
    • House Saving System into MySQL also!

      V 3:
    • MySQL System Fixed
    • Every Bug is removed now!
    • Dialog Based Teams With a Very Cool Textdraw Added!
    • Groups removed [BUGGED]
    • Data Base System Removed [HEAVILY BUUGED!]
    • Fixed, each and every warning in the GameMode
    • Dialog teams, making it eve easier to Spawn!
    • Minor Bugs in the House System Fixed!
    • MySQL Errors, Fixed!
    • Added The latest Includes of everything!
    • a new Host Name, To Get More Players!
    • a new GameMode Text Also!
    • Objects Converted Also!
    • MySQL System Fixed
    • House Saving System is now in Y INI for bug free usage!

      V 3.1:
    • Auto Login Re - Added
    • /Login Bug removed!
    • more of the bugs fixed!

      V 4.0:
    • Updated to 0.3x
    • Removed all Credits except /credits
    • New rank System added!
    • Ranks are in /stats
    • 3D Text Labels on each player showing their Rank + Team Name
    • Following rank names:
      Rank - 0 Newbie (0)
      Rank - 1 Hard Working (200)
      Rank - 2 Advanced (400)
      Rank - 3 Experinced (600)
      Rank - 4 Professional (800)
      Rank - 5 MASTER PLAYER (1000)
    • /rank Command added!
    • /ranks command added!
    • Some of the bugs fixed!

    Pictures: 

    25p1gqp.png

    u0kn8.png

    2nbhx20.png

    4iifk9.png

    vyqsg8.png

    1okodx.png

    /Map Command
    5kmzvn.png

    2n8scgg.png

    pic1.png

    pic2.png

    pic3.png

    pic4.png

    pic5.png
    Credits: 

    XtremeR For All the server
    Thanks To
    zeruel_angel, Zh3ro, Antironix, darkfighter975, Karagon
    Thank you guys alot
    other credits:
    thank you Zeex, Y_Less, SAMP Team for all the includes
    Special Thanks to zeruel_angel and Zh3ro
     

    Download V4.0 [0.3x] :
    Upload.ee
    Solidfiles


    MySQLFile [0.3x] :
    Upload.ee
    Solidfiles

     

    Nu doresc +1 pentru aceasta postare deoarece nu imi apartin creditle 

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