Jump to content

laury

Membru
  • Posts

    319
  • Joined

  • Last visited

Posts posted by laury

  1. frate nu mai lua mape de pe alte forumuri si sa spui k sunt facute de tn

    uitate si u maia tent cind copiezi ceva

    te da de gol nr de vizionari de la imaginile de leai postat

    si app... am mai vazut mapa aceasta pe un sv si pe samp.com mi se pare

    si revin din nou .... prea multe mape mari postate una dupa alta.nu aveai cum sa le faci asa rpd

  2. cauta ma si u in alt Gm k nimeni nu iti da mura in gura

    comenzile astea le gasesti in majoritatea sv

        if(strcmp(cmd, "/healall", true) == 0)
    	{
    	    GetPlayerName(playerid, sendername, sizeof(sendername));
    
    	    if(IsPlayerConnected(playerid))
    	    {
    	        if(PlayerInfo[playerid][pAdmin] >= 3)
    	        {
    	        	format(string, sizeof(string), "Adminul %s a dat viata tuturor playerilor de pe server.", sendername);
    	    		SendClientMessageToAll(0xFF7171FF, string);
    	            for(new i = 0; i < MAX_PLAYERS; i ++)
    				{
    				    if(IsPlayerConnected(i))
    				    {
    					    SetPlayerHealth(i, 200);
    					}
    				}
    			}
    			else
    			{
    			    SendClientMessage(playerid, COLOR_RED, "NU aveti acces la aceasta comanda !");
    			}
    		}
    		else
    		{
    		    SendClientMessage(playerid, COLOR_RED, "Trebuie sa fiti logat pentru a folosi aceasta comanda!");
    		}
    		return 1;
    	}
    	if(strcmp(cmd, "/gethere", true) == 0)
    	{
    	    if(IsPlayerConnected(playerid))
    	    {
    			tmp = strtok(cmdtext, idx);
    			if(!strlen(tmp))
    			{
    				SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /gethere [playerid/PartOfName]");
    				return 1;
    			}
    			new Float:plocx,Float:plocy,Float:plocz;
    			new plo;
    			plo = ReturnUser(tmp);
    			if (IsPlayerConnected(plo))
    			{
    			    if(plo != INVALID_PLAYER_ID)
    			    {
    					if (PlayerInfo[plo][pAdmin] > 3)
    					{
    						SendClientMessage(playerid, COLOR_GRAD1, " Ask the admin to goto you.");
    						return 1;
    					}
    					if (PlayerInfo[playerid][pAdmin] >= 3)
    					{
    						GetPlayerPos(playerid, plocx, plocy, plocz);
    						if(PlayerInfo[playerid][pInt] > 0)
    						{
    							SetPlayerInterior(plo,PlayerInfo[playerid][pInt]);
    							PlayerInfo[plo][pInt] = PlayerInfo[playerid][pInt];
    							PlayerInfo[plo][pLocal] = PlayerInfo[playerid][pLocal];
    						}
    						if(PlayerInfo[playerid][pInt] == 0)
    						{
    							SetPlayerInterior(plo,0);
    						}
    						if(plocz > 930.0 && PlayerInfo[playerid][pInt] == 0) //the highest land point in sa = 526.8
    						{
    							SetPlayerInterior(plo,1);
    							PlayerInfo[plo][pInt] = 1;
    						}
    						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
    						{
    							SetPlayerPos(plo,plocx,plocy+2, plocz);
    						}
    						SendClientMessage(plo, COLOR_GRAD1, " You have been teleported");
    					}
    					else
    					{
    						SendClientMessage(playerid, 0xFF3300FF, " NU ai autorizatie pentru a folosi aceasta comanda !");
    					}
    				}
    			}
    			else
    			{
    				SendClientMessage(playerid, COLOR_WHITE, " That player is Offline !");
    				return 1;
    			}
    		}
    		return 1;
    	}
    	if(strcmp(cmd, "/sethp", true) == 0)
    	{
    	    if(IsPlayerConnected(playerid))
    	    {
    			tmp = strtok(cmdtext, idx);
    			if(!strlen(tmp))
    			{
    				SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /sethp [playerid/PartOfName] [health]");
    				return 1;
    			}
    			new playa;
    			new health;
    			playa = ReturnUser(tmp);
    			tmp = strtok(cmdtext, idx);
    			health = strval(tmp);
    			if (PlayerInfo[playerid][pAdmin] >= 4)
    			{
    			    if(IsPlayerConnected(playa))
    			    {
    			        if(playa != INVALID_PLAYER_ID)
    			        {
     						GetPlayerName(playa, giveplayer, sizeof(giveplayer));
    						GetPlayerName(playerid, sendername, sizeof(sendername));
    						SetPlayerHealth(playa, health);
    						format(string, 256, "AdmWarning: %s has set %s's hp to %d.", sendername,giveplayer,health);
    						ABroadCast(COLOR_YELLOW,string,1);
    					}
    				}
    			}
    			else
    			{
    				SendClientMessage(playerid, 0xFF3300FF, " NU ai autorizatie pentru a folosi aceasta comanda !");
    			}
    		}
    		return 1;
    	}
    	if(strcmp(cmd, "/givegun", true) == 0)
    	{
    	    if(IsPlayerConnected(playerid))
    	    {
    			tmp = strtok(cmdtext, idx);
    			if(!strlen(tmp))
    			{
    				SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /givegun [playerid/PartOfName] [weaponid(eg. 46 = Parachute)] [ammo]");
    				return 1;
    			}
    			new playa;
    			new gun;
    			new ammo;
    			playa = ReturnUser(tmp);
    			tmp = strtok(cmdtext, idx);
    			gun = strval(tmp);
    			if(!strlen(tmp))
    			{
    				SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /givegun [playerid/PartOfName] [weaponid] [ammo]");
    				SendClientMessage(playerid, COLOR_GRAD4, "3(Club) 4(knife) 5(bat) 6(Shovel) 7(Cue) 8(Katana) 10-13(Dildo) 14(Flowers) 16(Grenades) 18(Molotovs) 22(Pistol) 23(SPistol)");
    				SendClientMessage(playerid, COLOR_GRAD3, "24(Eagle) 25(shotgun) 29(MP5) 30(AK47) 31(M4) 33(Rifle) 34(Sniper) 37(Flamethrower) 38(Minigun) 41(spray) 42(exting) 43(Camera) 46(Parachute)");
    				return 1;
    			}
    			new giver[MAX_PLAYER_NAME];
    			new taker[MAX_PLAYER_NAME];
    			GetPlayerName(playerid, giver, sizeof(giver));
    			GetPlayerName(playa, taker, sizeof(taker));
    			if(gun < 1||gun > 46||gun==27||gun==1||gun==2||gun==9||gun==17||gun==19||gun==20||gun==21||gun==36||gun==38||gun==39||gun==40||gun==44||gun==45)
    			{ SendClientMessage(playerid, COLOR_GRAD1, " wrong WeaponID!"); return 1; }
    			tmp = strtok(cmdtext, idx);
    			ammo = strval(tmp);
    			if(ammo <1||ammo > 999)
    			{ SendClientMessage(playerid, COLOR_GRAD1, " dont go below 1 or above 999 bullets!"); return 1; }
    			if (PlayerInfo[playerid][pAdmin] >= 4)
    			{
    			    if(IsPlayerConnected(playa))
    			    {
    			        if(playa != INVALID_PLAYER_ID)
    			        {
    						format(string, sizeof(string), "* You have been a gun %d with %d ammo by admin %s.", gun, ammo, giver);
    						SendClientMessage(playa, COLOR_LIGHTRED, string);
    						format(string, sizeof(string), "* You have give gun %d with %d ammo to %s.", gun, ammo, taker);
    						SendClientMessage(playerid, COLOR_LIGHTRED, string);
    			            format(string, sizeof(string), "AdmWarning: %s has given %s a weapon number %d with %d ammo.", giver, taker, gun, ammo);
    			            ABroadCast(COLOR_YELLOW,string,1);
    						GivePlayerWeapon(playa, gun, ammo);
    					}
    				}
    			}
    			else
    			{
    				SendClientMessage(playerid, 0xFF3300FF, " NU ai autorizatie pentru a folosi aceasta comanda !");
    			}
    		}
    		return 1;
    	}

    astea sunt comenzile sper k data viitoare sa cauti si u putin

  3. uite aici comenzile de care ai nevoie

        if(strcmp(cmd, "/unbanip", true) == 0)
    	{
    		if(PlayerInfo[playerid][pAdmin] >= 1339)
    		{
    		    tmp = strtok(cmdtext,idx);
    		    if(!strlen(tmp))
    		    {
    		        SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /unbanip [ players ip ]");
    		        return 1;
       			}
    			format(string,sizeof(string),"unbanip %s",tmp);
    			SendRconCommand(string);
    			SendRconCommand("reloadbans");
    			PlayerInfo[giveplayerid][pLocked] = 0;
       			GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
    			GetPlayerName(playerid, sendername, sizeof(sendername));
    			format(string, 256, "AdmWarning: %s has unbanned IP %s", sendername,tmp);
    			ABroadCast(COLOR_YELLOW,string,1);
    		}
    		return 1;
    	}
    	if (strcmp(cmd, "/unban", true) == 0)
    	{
    	    if((IsPlayerAdmin(playerid)) || PlayerInfo[playerid][pAdmin] >= 1339)
    	    {
    	        tmp = strtok(cmdtext, idx);
    	        if(!strlen(tmp))
    			{
    		        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /unban [playerid/PartOfName]");
    	            return 1;
    		 	}
    		 	GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
    		 	GetPlayerName(playerid, sendername, sizeof(giveplayer));
    		 	format(string, 256, "AdmWarning: %s has unbanned %s", sendername, tmp);
    		 	ABroadCast(COLOR_YELLOW,string,1);
    			format(string, 256, "AdmWarning: %s has unbanned %s", sendername, tmp);
    			printf(string);
    			format(string,sizeof(string),"%s.ini",tmp);
    			fremove(string);
    			PlayerInfo[giveplayerid][pLocked] = 0;
    			SendClientMessage(playerid, COLOR_WHITE, "Player unbanned");
    			SendRconCommand(string);
    			SendRconCommand("reloadbans");
       			GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
    			GetPlayerName(playerid, sendername, sizeof(sendername));
    		}
    		return 1;
    	}

    sau dak nu merge nici asa incearca sa intri in contul pe care are ban si la level acolo vei gasi asa k e -999

    u treci lv pe care l-a avut acel player inainte sa ia ban

    sper k ti-am fost de folos

  4. pune asa si vezi dak merge

    new JoinPed[74][1] = {
    {266},//POLICE_FORCE
    {282},
    {283},
    {284},
    {71},
    {191},
    {163},//FBI
    {164},
    {286},
    {295},
    {194},
    {285},//NATIONAL_GUARD
    {183},
    {193},
    {70},//FIRE/AMBULANCE
    {275},
    {276},
    {277},
    {279},
    {150},
    {102},//Paterno Family
    {103},
    {104},
    {115},
    {185},
    {216},
    {122},//Tattaglia
    {127},
    {125},
    {47},
    {124},
    {55},
    {186},//Hitman
    {165},
    {117},
    {93},
    {194},
    {141},//NEWS_REPORTERS
    {187},
    {189},
    {225},//TAXI_CAB_COMPANY
    {253},
    {11},
    {172},//SCHOOL
    {153},
    {171},//DRIVING/FLYING_SCHOOL
    {59},//DRIVING/FLYING_SCHOOL
    {114},//STRACI_SKINS
    {258},
    {259},
    {272},
    {206},
    {214},
    {105},//Barzini Family Skins
    {106},
    {271},
    {292},
    {195},
    {291},//Cuneo
    {121},
    {123},
    {188},
    {91},
    {46},//Corleone
    {223},
    {120},
    {118},
    {290},
    {190},//Train
    {16},
    {50},
    {152},//TOW_CAR_COMPANY
    {50},
    {79}
    };

  5. Ce-ai fi vrut sa faca in fata primariei jungla?

    Simplu si frumos 5/5 :)

    nu am zis sa faca jungla dar e prea simpla

    cred k asta ar face si un incepator care acu intra prima data in MTA

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