Jump to content

keNN.

Membru
  • Posts

    146
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by keNN.

  1. 2 hours ago, david1995 said:

    Descriere produs:Vand gamemode xplaygaming .(gen)
    Preţ: 25 lei paysafecard
    Alte detalii: Daca vreiti il puteti testa si aici : 89.33.242.191:7777

    De obicei aveam 40 ON dar am dat x3 wipe-uri si nu au mai intrat .

    Aveti niste poze mai jos :http://imgur.com/a/MS9l4

    E pe csforce,gm-ul.

     

     

  2. 10 minutes ago, D33p said:

    Descriere tutorial:  Deci, m-am gandit la un sistem la care toate mafiile/gangurile sa aiba in „paza” un BIZZ. Exemplu: Grove are Electrycity sau Ballas are Banca. In loc sa se bata pe teritorii sa se bata pentru acel biz. Fiecare mafie sa poata da /bizzatack odata pe zi si sa dureze 15 minute pana ce se stabilesc scorurile finale. Ca un fel de war numai ca nu pe teritorii si pe bizz-ul fiecarei factiuni.

    Suna bine,nu este greu de facut.

     

  3. 1 hour ago, AdY.Capone said:

    A continuat? gaseste un update care l-a facut el inafara de credite + comenzi ascunse... cu oamenii ca astia se duce samp-ul de tot..

    Vorbeste ala care are server cu gm-ul R.I.F..si habar n-are sa scripteze.

  4. Chiar acum, LorD. a spus:

    Salut, doresc sa ma ajute cineva cu comanda /arrest
    vreau sa-mi schimbati comanda sa fie simpla de genu sa dau doar /arrest [playerid] nu complicata cum e ea.

      Reafișează conținuturi ascunse

        if(strcmp(cmd, "/arrest", true) == 0)
        {
            if(IsPlayerConnected(playerid))
               {
                if(gTeam[playerid] == 2  || IsACop(playerid))
                {
                    if(OnDuty[playerid] != 1 && PlayerInfo[playerid][pMember] == 1)
                    {
                        SendClientMessage(playerid, COLOR_GREY, "   You are not on Duty!");
                        return 1;
                    }
                    if(!PlayerToPoint(6.0, playerid, 1527.9849,-1664.6001,6.2188))// || PlayerToPoint(6.0, playerid, -1566.4946,755.7339,-4.9063))
                    {// Jail spot
                        SendClientMessage(playerid, COLOR_GREY, "   You are not near the Jail, can't Arrest !");
                        return 1;
                    }
                    tmp = strtok(cmdtext, idx);
                    if(!strlen(tmp))
                    {
                        SendClientMessage(playerid, COLOR_GRAD2, "{66FFCC}Foloseste:{FFFFFF} /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]");
                        return 1;
                    }
                    moneys = strval(tmp);
                    if(moneys < 1 || moneys > 99999) { SendClientMessage(playerid, COLOR_GREY, "   Jail Price can't be below $1 or above $99999 !"); return 1; }
                    tmp = strtok(cmdtext, idx);
                    if(!strlen(tmp))
                    {
                        SendClientMessage(playerid, COLOR_GRAD2, "{66FFCC}Foloseste:{FFFFFF} /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]");
                        return 1;
                    }
                    new time = strval(tmp);
                    if(time < 1 || time > 20) { SendClientMessage(playerid, COLOR_GREY, "   Jail Time Minutes can't be below 1 or above 20 (Take the person to prison then) !"); return 1; }
                    tmp = strtok(cmdtext, idx);
                    if(!strlen(tmp))
                    {
                        SendClientMessage(playerid, COLOR_GRAD2, "{66FFCC}Foloseste:{FFFFFF} /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]");
                        return 1;
                    }
                    new bail = strval(tmp);
                    if(bail < 0 || bail > 1) { SendClientMessage(playerid, COLOR_GREY, "   Jail Bailing can't be below 0 or above 1 !"); return 1; }
                    tmp = strtok(cmdtext, idx);
                    if(!strlen(tmp))
                    {
                        SendClientMessage(playerid, COLOR_GRAD2, "{66FFCC}Foloseste:{FFFFFF} /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]");
                        return 1;
                    }
                    new bailprice = strval(tmp);
                    if(bailprice < 0 || bailprice > 3000000) { SendClientMessage(playerid, COLOR_GREY, "   Jail Bailing can't be below $0 or above $3000000 !"); return 1; }
                    new suspect = GetClosestPlayer(playerid);
                    if(IsPlayerConnected(suspect))
                    {
                        if(GetDistanceBetweenPlayers(playerid,suspect) < 5)
                        {
                            GetPlayerName(suspect, giveplayer, sizeof(giveplayer));
                            GetPlayerName(playerid, sendername, sizeof(sendername));
                            if(PlayerInfo[suspect][pWantedLevel] < 1)
                            {
                                SendClientMessage(playerid, COLOR_GREY, "   Player must be at least Wanted Level 1 !");
                                return 1;
                            }
                            format(string, sizeof(string), "* You arrested %s !", giveplayer);
                            SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
                            GivePlayerMoney(suspect, -moneys);
                            format(string, sizeof(string), "arrested by %s ~n~    for $%d", sendername, moneys);
                            GameTextForPlayer(suspect, string, 5000, 5);
                            ResetPlayerWeapons(suspect);
                            if(PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pLeader]==1)
                            {
                                format(string, sizeof(string), "<< Officer %s arrested suspect %s >>", sendername, giveplayer);
                                OOCNews(COLOR_LIGHTRED, string);
                            }
                            else if(PlayerInfo[playerid][pMember]==2||PlayerInfo[playerid][pLeader]==2)
                            {
                                format(string, sizeof(string), "<< FBI Agent %s arrested suspect %s >>", sendername, giveplayer);
                                OOCNews(COLOR_LIGHTRED, string);
                            }
                            else if(PlayerInfo[playerid][pMember]==3||PlayerInfo[playerid][pLeader]==3)
                            {
                                format(string, sizeof(string), "<< Soldier %s arrested suspect %s >>", sendername, giveplayer);
                                OOCNews(COLOR_LIGHTRED, string);
                            }
                             SetPlayerInterior(suspect, 10);
                            SetPlayerPos(suspect,223.2281,114.4777,999.0156);
                            PlayerInfo[suspect][pJailTime] = time * 60;
                            if(bail == 1)
                            {
                                JailPrice[suspect] = bailprice;
                                format(string, sizeof(string), "You are jailed for %d seconds.   Bail: $%d", PlayerInfo[suspect][pJailTime], JailPrice[suspect]);
                                SendClientMessage(suspect, COLOR_LIGHTBLUE, string);
                            }
                            else
                            {
                                JailPrice[suspect] = 0;
                                format(string, sizeof(string), "You are jailed for %d seconds.   Bail: Unable", PlayerInfo[suspect][pJailTime]);
                                SendClientMessage(suspect, COLOR_LIGHTBLUE, string);
                            }
                            PlayerInfo[suspect][pJailed] = 1;
                            PlayerInfo[suspect][pArrested] += 1;
                            SetPlayerFree(suspect,playerid, "Got Arrested");
                             TextDrawShowForPlayer(suspect, JailTD[suspect]);
                            WantedPoints[suspect] = 0;
                            WantedLevel[suspect] = 0;
                            WantLawyer[suspect] = 1;
                        }//distance
                    }//not connected
                    else
                    {
                        SendClientMessage(playerid, COLOR_GREY, "   No-one close enough to arrest.");
                        return 1;
                    }
                }
                else
                {
                    SendClientMessage(playerid, COLOR_GREY, "   You are not a Cop / FBI / NG !");
                    return 1;
                }
            }//not connected
            return 1;
        }

     

    CMD:arrest(playerid, params[]) {
    
    	new
    		string[128],
    		playerName[2][MAX_PLAYER_NAME],
    		targetID;
    
    	if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] != 1) return SendClientMessage(playerid, COLOR_GREY, "You're not a law enforcement officer.");
    
    	else if(sscanf(params, "u", targetID)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/arrest [playerid]");
    
    	else if((IsPlayerInRangeOfPoint(playerid,5, 1528.5240,-1678.2472,5.8906) && IsPlayerInRangeOfPoint(targetID,5, 1528.5240,-1678.2472,5.8906)) || ((IsPlayerInRangeOfPoint(playerid,5, -1605.8667,675.1851,-5.6662) && IsPlayerInRangeOfPoint(targetID,5, -1605.8667,675.1851,-5.6662)) || ((IsPlayerInRangeOfPoint(playerid,5, 2282.2065,2431.0796,3.0005) && IsPlayerInRangeOfPoint(targetID,5, 2282.2065,2431.0796,3.0005)))))
    	{
    
    			if(playerVariables[targetID][pFreezeType] == 2)
    			{
    			        GetPlayerName(playerid, playerName[0], MAX_PLAYER_NAME);
    					GetPlayerName(targetID, playerName[1], MAX_PLAYER_NAME);
    					format(playerVariables[targetID][pCrimeReason], MAX_PLAYER_NAME, "");
                        if(playerVariables[targetID][pWarrants] == 1)
                        {
    						format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 1000$ with a sentence of 2 minutes.", playerName[0], playerName[1]);
    						SCMTA(COLOR_LIGHTRED,string);
                            playerVariables[targetID][pMoney] -= 1000;
    						playerVariables[targetID][pPrisonTime] = 120;
    						playerVariables[playerid][pMoney] += 1000;
    						validResetPlayerWeapons(targetID);
    						playerVariables[targetID][pFreezeTime] = 0;
    						playerVariables[targetID][pFreezeType] = 0;
    						playerVariables[targetID][pPrisonID] = 3;
    						playerVariables[targetID][pWarrants] = 0;
    		               	SetPlayerWantedLevel(targetID, 0);
    						SetPlayerArmour(targetID, 0);
    						TogglePlayerControllable(targetID, true);
    						playerVariables[targetID][pArmour] = 0;
    						playerVariables[targetID][pArrests]++;
    						playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants];
    
    						SetPlayerInterior(targetID, 6);
    						SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0);
    						new spawn = random(sizeof(JailSpawns));
    						SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]);
    						SetPlayerFacingAngle(targetID, 0);
                        }
                        if(playerVariables[targetID][pWarrants] == 2)
                        {
    						format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 2500$ with a sentence of 5 minutes.", playerName[0], playerName[1]);
    						SCMTA(COLOR_LIGHTRED,string);
                            playerVariables[targetID][pMoney] -= 2500;
                            playerVariables[playerid][pMoney] += 2500;
    						playerVariables[targetID][pPrisonTime] = 300;
    						validResetPlayerWeapons(targetID);
    						playerVariables[targetID][pFreezeTime] = 0;
    						playerVariables[targetID][pFreezeType] = 0;
    						playerVariables[targetID][pPrisonID] = 3;
    						playerVariables[targetID][pWarrants] = 0;
    		               	SetPlayerWantedLevel(targetID, 0);
    						SetPlayerArmour(targetID, 0);
    						TogglePlayerControllable(targetID, true);
    						playerVariables[targetID][pArmour] = 0;
    						playerVariables[targetID][pArrests]++;
    						playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants];
    						SetPlayerInterior(targetID, 6);
    						SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0);
    						new spawn = random(sizeof(JailSpawns));
    						SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]);
    						SetPlayerFacingAngle(targetID, 0);
                        }
                        if(playerVariables[targetID][pWarrants] == 3)
                        {
    						format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 4500$ with a sentence of 7 minutes.", playerName[0], playerName[1]);
    						SCMTA(COLOR_LIGHTRED,string);
                            playerVariables[targetID][pMoney] -= 4500;
    						playerVariables[targetID][pPrisonTime] = 420;
    						playerVariables[playerid][pMoney] += 4500;
    						validResetPlayerWeapons(targetID);
    						playerVariables[targetID][pFreezeTime] = 0;
    						playerVariables[targetID][pFreezeType] = 0;
    						playerVariables[targetID][pPrisonID] = 3;
    						playerVariables[targetID][pWarrants] = 0;
    		               	SetPlayerWantedLevel(targetID, 0);
    						SetPlayerArmour(targetID, 0);
    						TogglePlayerControllable(targetID, true);
    						playerVariables[targetID][pArmour] = 0;
    						playerVariables[targetID][pArrests]++;
    						playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants];
    						SetPlayerInterior(targetID, 6);
    						SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0);
    						new spawn = random(sizeof(JailSpawns));
    						SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]);
    						SetPlayerFacingAngle(targetID, 0);
                        }
                        if(playerVariables[targetID][pWarrants] == 4)
                        {
    						format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 6000$ with a sentence of 10 minutes.", playerName[0], playerName[1]);
    						SCMTA(COLOR_LIGHTRED,string);
                            playerVariables[targetID][pMoney] -= 6000;
    						playerVariables[targetID][pPrisonTime] = 600;
    						playerVariables[playerid][pMoney] += 6000;
    						validResetPlayerWeapons(targetID);
    						playerVariables[targetID][pFreezeTime] = 0;
    						playerVariables[targetID][pFreezeType] = 0;
    						playerVariables[targetID][pPrisonID] = 3;
    						playerVariables[targetID][pWarrants] = 0;
    		               	SetPlayerWantedLevel(targetID, 0);
    						SetPlayerArmour(targetID, 0);
    						TogglePlayerControllable(targetID, true);
    						playerVariables[targetID][pArmour] = 0;
    						playerVariables[targetID][pArrests]++;
    						playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants];
    						SetPlayerInterior(targetID, 6);
    						SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0);
    						new spawn = random(sizeof(JailSpawns));
    						SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]);
    						SetPlayerFacingAngle(targetID, 0);
    
                        }
                        if(playerVariables[targetID][pWarrants] == 5)
                        {
    						format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 8000$ with a sentence of 15 minutes.", playerName[0], playerName[1]);
    						SCMTA(COLOR_LIGHTRED,string);
                            playerVariables[targetID][pMoney] -= 8000;
    						playerVariables[targetID][pPrisonTime] = 900;
    						playerVariables[playerid][pMoney] += 8000;
    						validResetPlayerWeapons(targetID);
    						playerVariables[targetID][pFreezeTime] = 0;
    						playerVariables[targetID][pFreezeType] = 0;
    						playerVariables[targetID][pPrisonID] = 3;
    						playerVariables[targetID][pWarrants] = 0;
    		               	SetPlayerWantedLevel(targetID, 0);
    						SetPlayerArmour(targetID, 0);
    						TogglePlayerControllable(targetID, true);
    						playerVariables[targetID][pArmour] = 0;
    						playerVariables[targetID][pArrests]++;
    						playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants];
    						SetPlayerInterior(targetID, 6);
    						SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0);
    						new spawn = random(sizeof(JailSpawns));
    						SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]);
    						SetPlayerFacingAngle(targetID, 0);
                        }
                        if(playerVariables[targetID][pWarrants] == 6)
                        {
    						format(string, sizeof(string),"%s has arrested suspect %s, issuing a fine of 10000$ with a sentence of 20 minutes.", playerName[0], playerName[1]);
    						SCMTA(COLOR_LIGHTRED,string);
                            playerVariables[targetID][pMoney] -= 10000;
    						playerVariables[targetID][pPrisonTime] = 1200;
    						playerVariables[playerid][pMoney] += 5000;
    						validResetPlayerWeapons(targetID);
    						playerVariables[targetID][pFreezeTime] = 0;
    						playerVariables[targetID][pFreezeType] = 0;
    						playerVariables[targetID][pPrisonID] = 3;
    						playerVariables[targetID][pWarrants] = 0;
    		               	SetPlayerWantedLevel(targetID, 0);
    						SetPlayerArmour(targetID, 0);
    						TogglePlayerControllable(targetID, true);
    						playerVariables[targetID][pArmour] = 0;
    						playerVariables[targetID][pArrests]++;
    						playerVariables[targetID][pCrimes] += playerVariables[targetID][pWarrants];
    						SetPlayerInterior(targetID, 6);
    						SetPlayerVirtualWorld(targetID, GROUP_VIRTUAL_WORLD+0);
    						new spawn = random(sizeof(JailSpawns));
    						SetPlayerPos(targetID, JailSpawns[spawn][0], JailSpawns[spawn][1], JailSpawns[spawn][2]);
    						SetPlayerFacingAngle(targetID, 0);
                        }
                        format(playerVariables[targetID][pCrimeReason], 250, "");
                }
    			else SendClientMessage(playerid, COLOR_GREY, "The person you wish to arrest must be restrained first (cuffed).");
    	}
    	return 1;
    }

     

  5. La 3/24/2016 la 21:45, Jermaine.RPG a spus:

    Descriere produs:Doresc să achiziționez un Gamemode RPG în domeniul San Andreas Multi Player, acesta trebuie să conțină sisteme cât mai unice și atrăgătoare fiecărui jucător în parte, vânzătorul să fie dispus să dovedească starea actuală a Gamemodeului și testarea acestuia. Sau chiar să fie dispus pentru crearea unui Gamemode complet unic începând lucrările la el chiar de la 0 după bunul meu plac. Oferta este cât se poate de serioasă și aștept un răspuns serios din partea dumneavoastră de asemenea.
    Cat sunt dispus să plătesc: Sunt dispus să plătesc suma de 400 Roni în schimbul acestui Gamemode.
    Alte detalii: Pentru mai multe informații vă rog să mă contactați la adresa de Skype : caius.florin.

    Vă mulțumesc!

    Sper sa iti placa,daca vrei poti sa il testezi.

  6. Acum 2 ore, david1995 a spus:

    Iti puteti face orice comanda pentru admin . Dupa tutorial-ul lui Widualk ?

    Ma refer la cel de register/login .

    Sau sa o transformati pe asta ca dupa stiu eu sa le fac.

     

    Nu am inteles nimic,ce problema ai ?

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