[HELP]Command
#1

When we go to a Linux server month we IDs players. I want to give yourself what level to another player. I do not know Is it up to a command or something else because I sscanf.Ovdje skin is the most recent command which monthly IDs players. would like to help me.
Im from Bosnia and Hercegovina.

Код:
CMD:apostavi(playerid, params[])
{
	new string[128], odabir[20], igrac, kolicinas;
	new idname[MAX_PLAYER_NAME];

	new sendername[MAX_PLAYER_NAME];
	GetPlayerName(playerid, sendername, sizeof(sendername));
	if(sscanf(params, "s[20]ud",odabir, igrac, kolicinas))
	{
		if(PlayerInfo[playerid][pAdmin] == 2||PlayerInfo[playerid][pAdmin] == 3)
			{
				SCM(playerid, COLOR_GRAD3,"{168BFF}INFO: {959561} /apostavi [ime] [ID/DeoImena] [kolicina]");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}kpdom(vrijeme), posao, zatvor(vrijeme), mute(vrijeme), kredit(mob), brMoba");
				return 1;
			}
			if(PlayerInfo[playerid][pAdmin] == 4)
			{
				SCM(playerid, COLOR_GRAD3,"{168BFF}INFO: {959561} /apostavi [ime] [ID/DeoImena] [kolicina]");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}posao, zatvor(vrijeme), mute(vrijeme), kredit(mob), brMoba");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}organizacija, kuca, firma, sfirma, tutorijal");
				return 1;
			}
				if(PlayerInfo[playerid][pAdmin] == 5)
			{
				SCM(playerid, COLOR_GRAD3,"{168BFF}INFO: {959561} /apostavi [ime] [ID/DeoImena] [kolicina]");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno:{A2FFD0} posao, zatvor(vrijeme), mute(vrijeme), kredit(mob), brMoba");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}GameSage, organizacija, kuca, firma, skin, tutorijal");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}lider, donator, droga, materijali, spol, rank, level");
				return 1;
			}
			if(PlayerInfo[playerid][pAdmin] == 6)
			{
				SCM(playerid, COLOR_GRAD3,"{168BFF}INFO: {959561} /apostavi [ime] [ID/DeoImena] [kolicina]");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}posao, zatvor(vrijeme), mute(vrijeme), kredit(mob), brMoba");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}organizacija, kuca, firma, skin, tutorijal");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}lider, donator, droga, materijali, spol, rank");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}banka, novac, respekt, admin, satiigranja, GameSage");
				SCM(playerid, WHITE, "{3EFF9F}Dostupno: {A2FFD0}Goldi, level, GameSage");
				return 1;
			}
	}
	else
	{
		if(strcmp(odabir,"kpdom",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 2)
					{
						if(IsPlayerConnected(igrac))
							{
								if(PlayerInfo[igrac][pJailed] == 2)
								{
								PlayerInfo[igrac][pJailTime] = kolicinas*60;
								SetPlayerPos(igrac,1552.4223632813,-1675.6357421875,16.1953125);
								//SetPlayerWorldBounds(igrac,20000.0000,-20000.0000,20000.0000,-20000.0000); //Reset world to player
								SetPlayerInterior(igrac, 0);
								GetPlayerName(igrac, idname, sizeof(idname));

								format(string,sizeof(string), "{FF0000}Promijenjeno ti je vrijeme kazne(KP Dom)! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si {FFFF80}%s {FF0000}vrijeme kazne", idname);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Taj igrac nije zatvoren u KP domu!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			if(strcmp(odabir,"tutorijal",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 2)
					{
					SetPVarInt(igrac, "Tutorijal", kolicinas);
					}
			}
			else if(strcmp(odabir,"Goldi",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 6)
					{
						if(IsPlayerConnected(igrac))
							{
											SetPVarInt(playerid, "Goldi", kolicinas);
											SacuvajIgraca(igrac);GetPlayerName(igrac, idname, sizeof(idname));
											format(string,sizeof(string), ""SVIJETLOPLAVA"Postavljeni su ti Goldi na: "BIJELA"%d"SVIJETLOPLAVA"! |Admin: {FFFFFF}%s",  kolicinas, sendername);SCM(igrac, 0xFF4141FF, string);
											format(string,sizeof(string), "Postavio si %s Goldi", idname);SCM(playerid, COLOR_LIGHTBLUE, string);
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"zatvor",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 2)
					{
						if(IsPlayerConnected(igrac))
							{
								if(PlayerInfo[igrac][pJailed] == 1)
								{

								PlayerInfo[igrac][pJailTime] = kolicinas*60;
								SetPlayerPos(igrac,1552.4223632813,-1675.6357421875,16.1953125);
								SetPlayerInterior(igrac, 0);
								GetPlayerName(igrac, idname, sizeof(idname));
								TextDrawHideForPlayer(igrac, pritvorvrijeme[igrac]);TextDrawDestroy(pritvorvrijeme[playerid]);
								format(string,sizeof(string), "{FF0000}Promijenjeno ti je vrijeme kazne(zatvor)! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si {FFFF80}%s {FF0000}vrijeme kazne", idname);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Taj igrac nije zatvoren!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"mute",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 2)
					{
						if(IsPlayerConnected(igrac))
							{
								if(PlayerInfo[igrac][pMuted] == 1)
								{
								PlayerInfo[igrac][pMuteTime] = kolicinas*60;GetPlayerName(igrac, idname, sizeof(idname));
								format(string,sizeof(string), "{FF0000}Promijenjeno ti je vrijeme kazne(mute)! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si {FFFF80}%s {FF0000}vrijeme kazne", idname);SCM(playerid, 0xFF4141FF, string);
								TextDrawHideForPlayer(igrac, MuteVrijeme[igrac]);TextDrawDestroy(MuteVrijeme[igrac]);
								}
								else return SCM(playerid, GREY, "Taj igrac nije usutkan!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"level",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 5)
					{
						if(IsPlayerConnected(igrac))
							{
								PlayerInfo[igrac][pLevel] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								format(string,sizeof(string), "{FF0000}Promijenjen ti je Level! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si igracu{FFFF80} %s {FF0000}Level", idname);SCM(playerid, 0xFF4141FF, string);
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"posao",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 2)
					{
						if(IsPlayerConnected(igrac))
							{
								SetPVarInt(playerid, "Posao", kolicinas);GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								format(string,sizeof(string), "{FF0000}Promijenjen ti je Posao! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si igracu{FFFF80} %s {FF0000}posao", idname);SCM(playerid, 0xFF4141FF, string);
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"kredit",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 2)
					{
						if(IsPlayerConnected(igrac))
							{
								PlayerInfo[igrac][pKredit] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								format(string,sizeof(string), "{FF0000}Promijenjena ti je kolicina Kredita! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si igracu{FFFF80} %s {FF0000}kredit", idname);SCM(playerid, 0xFF4141FF, string);
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"brmoba",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 2)
					{
						if(IsPlayerConnected(igrac))
							{
								PlayerInfo[igrac][pPnumber] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								format(string,sizeof(string), "{FF0000}Promijenjen ti je broj moba! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si igracu{FFFF80} %s {FF0000}broj moba", idname);SCM(playerid, 0xFF4141FF, string);
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"GameSage",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 6)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 3)
								{
								PlayerInfo[igrac][pGameSage] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								format(string,sizeof(string), "{FF0000}Postavljen ti je status GameSagea! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si status{FFFF80} %s {FF0000}GameSagea", idname);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 3!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"skin",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 5)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 299)
								{
									PlayerInfo[igrac][pChar] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
									PlayerInfo[igrac][pModel] = kolicinas;
									SetPlayerSkin(igrac, kolicinas);
								format(string,sizeof(string), "{FF0000}Promijenjen ti je skin! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si skin{FFFF80} %s {FF0000}na: %s", idname, kolicinas);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 299!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"organizacija",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 4)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 13)
								{
								PlayerInfo[igrac][pMember] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
									new ttext[120];
								if(PlayerInfo[igrac][pMember] == 1) { ttext = "Police Department"; }
							else if(PlayerInfo[igrac][pMember] == 2) { ttext = "FBI"; }
							else if(PlayerInfo[igrac][pMember] == 3) { ttext = "SWAT"; }
							else if(PlayerInfo[igrac][pMember] == 4) { ttext = "MD"; }
							else if(PlayerInfo[igrac][pMember] == 5) { ttext = "LCN"; }
							else if(PlayerInfo[igrac][pMember] == 6) { ttext = "Yakuza"; }
							else if(PlayerInfo[igrac][pMember] == 8) { ttext = "Hitman"; }
							else if(PlayerInfo[igrac][pMember] == 9) { ttext = "CNN"; }
							else if(PlayerInfo[igrac][pMember] == 10) { ttext = "Taxi"; }
							else if(PlayerInfo[igrac][pMember] == 11) { ttext = "SK"; }
							else if( PlayerInfo[igrac][pMember] == 12) { ttext = "MS"; }
							else if(PlayerInfo[igrac][pMember] == 13) { ttext = "ESL"; }
							else {ttext = "[Nema]";}
								format(string,sizeof(string), "{FF0000}Postavljena ti je organizacija na %s ! | {FFFF80}Admin: %s", ttext, sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si organizaciju igracu {FFFF80}%s na: %s ", idname, ttext);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 13!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"kuca",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 4)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 1000)
								{
								PlayerInfo[igrac][pPhousekey] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								format(string,sizeof(string), "{FF0000}Postavljena ti je kuca! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si kljuc kuce {FFFF80}%s ", idname);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 1000!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"firma",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 4)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 200)
								{
								PlayerInfo[igrac][pPbiskey] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								format(string,sizeof(string), "{FF0000}Postavljena ti je firma! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si kljuc firme {FFFF80}%s ", idname);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 200!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"sfirma",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 4)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 200)
								{
								PlayerInfo[igrac][pPsbiskey] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								format(string,sizeof(string), "{FF0000}Postavljena ti je firma! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si kljuc firme {FFFF80}%s ", idname);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 200!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"lider",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 5)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 13)
								{
								PlayerInfo[igrac][pLeader] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								PlayerInfo[igrac][pMember] = 0;PlayerInfo[igrac][pRank] = 6;
								new ttext[120];
							if(PlayerInfo[igrac][pLeader] == 1) { ttext = "Los Santos Police Department"; }
							else if(PlayerInfo[igrac][pLeader] == 2) { ttext = "Federal Bureau of Investigation"; }
							else if(PlayerInfo[igrac][pLeader] == 3) { ttext = "Special Weapons And Tactics"; }
							else if(PlayerInfo[igrac][pLeader] == 4) { ttext = "New Generation Racers"; }
							else if(PlayerInfo[igrac][pLeader] == 5) { ttext = "The Italian Mafia"; }
							else if(PlayerInfo[igrac][pLeader] == 6) { ttext = "Yakuza"; }
							else if(PlayerInfo[igrac][pLeader] == 7) { ttext = "Grove Street Family"; }
							else if(PlayerInfo[igrac][pLeader] == 8) { ttext = "Hitman Agencija"; }
							else if(PlayerInfo[igrac][pLeader] == 9) { ttext = "Cable News Network"; }
							else if(PlayerInfo[igrac][pLeader] == 10) { ttext = "Taxi Kompanija"; }
							else if(PlayerInfo[igrac][pLeader] == 11) { ttext = "UnderGround Racers"; }
							else if( PlayerInfo[igrac][pLeader] == 12) { ttext = "Bad Boys"; }
							else if(PlayerInfo[igrac][pLeader] == 13) { ttext = "East Side Locos"; }
                         	else if(PlayerInfo[igrac][pLeader] == 14) { ttext = "Medical Department"; }

							else {ttext = "[Nema]";}
							if(kolicinas == 0) { PlayerInfo[igrac][pChar] = 0; }
						else if(kolicinas == 1) { PlayerInfo[igrac][pChar] = 288; } //Police Force
						else if(kolicinas == 2) { PlayerInfo[igrac][pChar] = 165; } //FBI/ATF
						else if(kolicinas == 3) { PlayerInfo[igrac][pChar] = 166; } //National Guard
						else if(kolicinas == 4) { PlayerInfo[igrac][pChar] = 29; } //NGR
						else if(kolicinas == 5) { PlayerInfo[igrac][pChar] = 113; } //La Cosa Nostra
						else if(kolicinas == 6) { PlayerInfo[igrac][pChar] = 294; } //Yakuza
						else if(kolicinas == 7) { PlayerInfo[igrac][pChar] = 270; } //gsf
						else if(kolicinas == 8) { PlayerInfo[igrac][pChar] = 299; } //Hitmans
						else if(kolicinas == 9) { PlayerInfo[igrac][pChar] = 227; } //News Reporters
						else if(kolicinas == 10) { PlayerInfo[igrac][pChar] = 61; } //Taxi Cab Company
						else if(kolicinas == 11) { PlayerInfo[igrac][pChar] = 101; } //UR
						else if(kolicinas == 12) { PlayerInfo[igrac][pChar] = 292; } // ms13
						else if(kolicinas == 13) { PlayerInfo[igrac][pChar] = 115; } // ESL
                     	else if(kolicinas == 14) { PlayerInfo[igrac][pChar] = 274; } // ESL
						SetPlayerSkin(igrac, PlayerInfo[igrac][pChar]);
								format(string,sizeof(string), "Postavljen si za lidera organizacije:{FFFFFF} %s! "SVIJETLOPLAVA"| Admin: {FFFFFF}%s",  ttext, sendername);SCM(igrac, COLOR_LIGHTBLUE, string);
								format(string,sizeof(string), "Postavio si {FFFFFF}%s"SVIJETLOPLAVA" za lidera "BIJELA"%s", idname, ttext);SCM(playerid, COLOR_LIGHTBLUE, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 14!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"donator",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 5)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 3)
								{
								PlayerInfo[igrac][pPsbiskey] = kolicinas;

								SetPVarInt(igrac,"DonatorRank", kolicinas);GetPlayerName(igrac, idname, sizeof(idname));
								new drank[20];
								if(GetPVarInt(igrac, "DonatorRank")  == 1) { drank = "Bronzani Donator"; }
								else if(GetPVarInt(igrac, "DonatorRank")  == 2) { drank = "Srebreni Donator"; }
								else if(GetPVarInt(igrac, "DonatorRank")  == 3) { drank = "Zlatni donator"; }
								else { drank = "Nema"; }
								SacuvajIgraca(igrac);
								format( string, sizeof( string ), "Postavio si igracu %s donator nivo na: {FFABAB}%s.", idname, drank);
								SendClientMessage( playerid, 0xFF8080FF, string);
								format( string, sizeof( string ), "Postavljen ti je donator nivo na: {BCFF79}%s {80FF00}! Admin: {BCFF79}%s{80FF00}.", drank, sendername);
								SendClientMessage(igrac, 0x80FF00FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 3!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"droga",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 5)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 200)
								{
								PlayerInfo[igrac][pDrugs] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								format(string,sizeof(string), "{FF0000}Promijenjena ti je kolicina droge! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si kolicinu droge {FFFF80}%s ", idname);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 200!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"materijali",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 5)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 1 || kolicinas <= 2000)
								{
								PlayerInfo[igrac][pMats] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								format(string,sizeof(string), "{FF0000}Promijenjena ti je kolicina materijala! | {FFFF80}Admin: %s",  sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si kolicinu materijala {FFFF80}%s ", idname);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 1 i preko 2000!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"spol",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 5)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 0 || kolicinas <= 2)
								{
								PlayerInfo[igrac][pSex] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								new drank[20];
								if(PlayerInfo[igrac][pSex] == 0) { drank = "Nema"; }
								else if(PlayerInfo[igrac][pSex] == 1) { drank = "Musko"; }
								else if(PlayerInfo[igrac][pSex] == 2) { drank = "Zensko"; }
								format(string,sizeof(string), "{FF0000}Promijenjen ti je spol na : %s! | {FFFF80}Admin: %s",  drank, sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si spol{FFFF80} %s na: %s", idname, drank);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 0 i preko 2!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"rank",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 5)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 0 || kolicinas <= 6)
								{
								PlayerInfo[igrac][pRank] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;

								format(string,sizeof(string), "{FF0000}Promijenjen ti je rank na : %d! | {FFFF80}Admin: %s",  kolicinas, sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si rank{FFFF80} %s na: %d", idname, kolicinas);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 0 i preko 6!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"banka",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 6)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 0 || kolicinas <= 1000000)
								{
								PlayerInfo[igrac][pAccount] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;

								format(string,sizeof(string), "{FF0000}Promijenjeno ti je stanje na bankovnom racunu na : %d$! | {FFFF80}Admin: %s",  kolicinas, sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si stanje na bankovnom racunu {FFFF80}%s na: %d$", idname, kolicinas);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 0 i preko 1000000!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"novac",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 6)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 0 || kolicinas <= 1000000)
								{
								PlayerInfo[igrac][pCash] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;
								ResetPlayerCash(igrac);GivePlayerCash(igrac, kolicinas);
								format(string,sizeof(string), "{FF0000}Promijenjeno ti je novcano stanje na : %d$! | {FFFF80}Admin: %s",  kolicinas, sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si novcano stanje od {FFFF80}%s na: %d$", idname, kolicinas);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 0 i preko 1000000!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"respekt",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 6)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 0 || kolicinas <= 50)
								{
								PlayerInfo[igrac][pExp] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;

								format(string,sizeof(string), "{FF0000}Promijenjena ti je kolicina respekt poena na : %d! | {FFFF80}Admin: %s",  kolicinas, sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si kolicinu respekt poena od {FFFF80}%s na: %d$", idname, kolicinas);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 0 i preko 50!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"admin",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 6 || IsPlayerAdmin(playerid))
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 0 || kolicinas <= 6)
								{
									PlayerInfo[igrac][pAdmin] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
									new arank[20];
									if(PlayerInfo[igrac][pAdmin] == 6) { arank = "Head Admin"; }
									else if(PlayerInfo[igrac][pAdmin] == 5) { arank = "5 Admin"; }
									else if(PlayerInfo[igrac][pAdmin] == 1) { arank = "lvl 1 Admin"; }
									else if(PlayerInfo[igrac][pAdmin] == 2) { arank = "lvl 2 Admin"; }
									else if(PlayerInfo[igrac][pAdmin] == 3) { arank = "lvl 3 Admin"; }
									else if(PlayerInfo[igrac][pAdmin] == 4) { arank = "lvl 4 Admin"; }
									else { arank = "[Nema]"; }
									printf("Admin %s je unaprijedio %s na lvl %d admina.", sendername, idname, kolicinas);
									format(string, sizeof(string), "{6DDB00}Unaprijeden si na poziciju: {BAEE86}%s{6DDB00}| Head Admin: {BAEE86}%s", arank, sendername);
									SendClientMessage(igrac, COLOR_LIGHTBLUE, string);
									format(string, sizeof(string), "{FF5151}Unaprijedio si {FF9999}%s {FF5151}na poziciju {FF9999}%s ", idname,arank);
									SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 0 i preko 6!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
			else if(strcmp(odabir,"satiigranja",true) == 0)
			{
				if(PlayerInfo[playerid][pAdmin] >= 6)
					{
						if(IsPlayerConnected(igrac))
							{
								if(kolicinas >= 0 || kolicinas <= 2000)
								{
								PlayerInfo[igrac][pConnectTime] = kolicinas;GetPlayerName(igrac, idname, sizeof(idname));
								//PlayerInfo[igrac][pJob] = 0;

								format(string,sizeof(string), "{FF0000}Promijenjenti je broj sati igranja na: %d! | {FFFF80}Admin: %s",  kolicinas, sendername);SCM(igrac, 0xFF4141FF, string);
								format(string,sizeof(string), "{FF0000}Promijenio si broj sati igranja od {FFFF80}%s na: %d$", idname, kolicinas);SCM(playerid, 0xFF4141FF, string);
								}
								else return SCM(playerid, GREY, "Ne idi ispod 0 i preko 2000!");
							}
							else return SCM(playerid, GREY, "Taj igrac nije online!");
					}
					else return SCM(playerid, GREY, "Nisi ovlasten!");
			}
		}
	return 1;
}
Reply
#2

Does anybody knows
Reply
#3

Learn english... I didnt understand a word of ur explanation
Reply
#4

^lol

Well, I think you want to give other players an adminlevel by yourself with a command, right?
Reply
#5

Quote:
Originally Posted by thimo
Посмотреть сообщение
Learn english... I didnt understand a word of ur explanation
That script is in croatian language
Reply
#6

lol even the translate sucks!
pawn Код:
CMD: apostavi (playerid, params []){new String [128], selection [20], player, kolicinas;New idname [MAX_PLAYER_NAME];New sendername [MAX_PLAYER_NAME];GetPlayerName (playerid, sendername, sizeof (sendername));if (sscanf (params, "with [20] member", selection, player, kolicinas)){if ([playerid] [Padmini] == 2 | | [playerid] [Padmini] == 3){SCM (playerid, COLOR_GRAD3, "168BFF {} Info {} 959 561 / apostavi [name] [ID / DeoImena] [amount]");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 kpdom (time), job, jail time (), mute (time), credit (GSM), brMoba");return 1;}if ([playerid] [Padmini] == 4){SCM (playerid, COLOR_GRAD3, "168BFF {} Info {} 959 561 / apostavi [name] [ID / DeoImena] [amount]");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 job, jail time (), mute (time), credit (GSM), brMoba");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 organization, house, firm, sfirma, tutorial");return 1;}if ([playerid] [Padmini] == 5){SCM (playerid, COLOR_GRAD3, "168BFF {} Info {} 959 561 / apostavi [name] [ID / DeoImena] [amount]");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 job, jail time (), mute (time), credit (GSM), brMoba");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 GameSage, organization, house, firm, skin, tutorial");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 leader, donor, drugs, materials, gender, rank, level");return 1;}if ([playerid] [Padmini] == 6){SCM (playerid, COLOR_GRAD3, "168BFF {} Info {} 959 561 / apostavi [name] [ID / DeoImena] [amount]");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 job, jail time (), mute (time), credit (GSM), brMoba");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 organization, house, firm, skin, tutorial");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 leader, donor, drugs, materials, gender, rank");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 bank, money, respect, admin, satiigranja, GameSage");SCM (playerid, WHITE, "{} 3EFF9F Available: {} A2FFD0 Gold Level, GameSage");return 1;}}else{if (strcmp (choice, "kpdom", true) == 0){if ([playerid] [Padmini]> = 2){if (IsPlayerConnected (player)){if (playerid [player] [pJailed] == 2){PlayerInfo [player] [pJailTime] = kolicinas * 60;SetPlayerPos (player, 1552.4223632813, -1675.6357421875,16.1953125);/ / SetPlayerWorldBounds (player, 20000.0000, -20000.0000,20000.0000, -20000.0000) / / Reset the World PlayerSetPlayerInterior (player, 0);GetPlayerName (player, idname, sizeof (idname));format (string, sizeof (string), "FF0000} {You changed the time of the sentence (KP Dom)! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {{You changed FFFF80}% {s} FF0000 time penalty," idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, GREY, "That player is not closed in the Facility");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}if (strcmp (choice, "tutorial", true) == 0){if ([playerid] [Padmini]> = 2){SetPVarInt (player, "Tutorial", kolicinas);}}else if (strcmp (choice, "Gold", true) == 0){if ([playerid] [Padmini]> = 6){if (IsPlayerConnected (player)){SetPVarInt (playerid, "Gold", kolicinas);SacuvajIgraca (player); GetPlayerName (player, idname, sizeof (idname));format (string, sizeof (string), "" Light "Whether these Gold at" WHITE "% d" Light "! | Admin: ffffff} {% s", kolicinas, sendername), SCM (player, 0xFF4141FF, string );format (string, sizeof (string), "has set% s Gold" idname), SCM (playerid, COLOR_LIGHTBLUE, string);}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "prison", true) == 0){if ([playerid] [Padmini]> = 2){if (IsPlayerConnected (player)){if (playerid [player] [pJailed] == 1){PlayerInfo [player] [pJailTime] = kolicinas * 60;SetPlayerPos (player, 1552.4223632813, -1675.6357421875,16.1953125);SetPlayerInterior (player, 0);GetPlayerName (player, idname, sizeof (idname));TextDrawHideForPlayer (player, pritvorvrijeme [player]); TextDrawDestroy (pritvorvrijeme [playerid]);format (string, sizeof (string), "FF0000} {You changed the time of sentence (prison)! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {{You changed FFFF80}% {s} FF0000 time penalty," idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, GREY, "That player is not closed!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "mute", true) == 0){if ([playerid] [Padmini]> = 2){if (IsPlayerConnected (player)){if (playerid [player] [pMuted] == 1){PlayerInfo [player] [pMuteTime] = kolicinas * 60; GetPlayerName (player, idname, sizeof (idname));format (string, sizeof (string), "FF0000} {You changed the time of the sentence (mute)! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {{You changed FFFF80}% {s} FF0000 time penalty," idname), SCM (playerid, 0xFF4141FF, string);TextDrawHideForPlayer (player, MuteVrijeme [player]); TextDrawDestroy (MuteVrijeme [player]);}else return the SCM (playerid, GREY, "This player has not silenced!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "Level", true) == 0){if ([playerid] [Padmini]> = 5){if (IsPlayerConnected (player)){PlayerInfo [player] [pLevel] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {Changed to Level I! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {changed are player FFFF80} {% s} {FF0000 Level", idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "the job", true) == 0){if ([playerid] [Padmini]> = 2){if (IsPlayerConnected (player)){SetPVarInt (playerid, "Job," kolicinas); GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {Changed your job! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {changed are player FFFF80} {% s} {FF0000 job," idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "credit", true) == 0){if ([playerid] [Padmini]> = 2){if (IsPlayerConnected (player)){PlayerInfo [player] [pKredit] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {Changed the amount of credit you! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {changed are player FFFF80} {% s} {FF0000 credit", idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "brmoba", true) == 0){if ([playerid] [Padmini]> = 2){if (IsPlayerConnected (player)){PlayerInfo [player] [pPnumber] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {I changed the number of volunteer! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {changed are player FFFF80} {% s} {FF0000 of Moba," idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "GameSage", true) == 0){if ([playerid] [Padmini]> = 6){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 3){PlayerInfo [player] [pGameSage] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {Embed these status GameSagea! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed the status FFFF80} {% s} {FF0000 GameSagea" idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 3");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "skin", true) == 0){if ([playerid] [Padmini]> = 5){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 299){PlayerInfo [player] [PChar] = kolicinas; GetPlayerName (player, idname, sizeof (idname));PlayerInfo [player] [pModel] = kolicinas;SetPlayerSkin (player, kolicinas);format (string, sizeof (string), "FF0000} {changed you skin! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed the skin FFFF80} {% s} to {FF0000:% s", idname, kolicinas), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 299!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "organization", true) == 0){if ([playerid] [Padmini]> = 4){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 13){PlayerInfo [player] [pMember] = kolicinas; GetPlayerName (player, idname, sizeof (idname));New ttext [120];if (playerid [player] [pMember] == 1) {ttext = "Police Department";}else if (playerid [player] [pMember] == 2) {ttext = "FBI";}else if (playerid [player] [pMember] == 3) {ttext = "SWAT";}else if (playerid [player] [pMember] == 4) {ttext = "MD";}else if (playerid [player] [pMember] == 5) {ttext = "LCN";}else if (playerid [player] [pMember] == 6) {ttext = "Yakuza";}else if (playerid [player] [pMember] == 8) {ttext = "Hitman";}else if (playerid [player] [pMember] == 9) {ttext = "CNN";}else if (playerid [player] [pMember] == 10) {ttext = "Taxi";}else if (playerid [player] [pMember] == 11) {ttext = "SK";}else if (playerid [player] [pMember] == 12) {ttext = "MS";}else if (playerid [player] [pMember] == 13) {ttext = "ESL";}else {ttext = "[no]";}format (string, sizeof (string), "FF0000} {set your organization on% s! | {} FFFF80 Admin:% s", ttext, sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed the organization of the player FFFF80 {}% s:% s", idname, ttext), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 13!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "House", true) == 0){if ([playerid] [Padmini]> = 4){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 1000){PlayerInfo [player] [pPhousekey] = kolicinas; GetPlayerName (player, idname, sizeof (idname));format (string, sizeof (string), "FF0000} {set is your house! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed your key FFFF80 {}% s", idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 1000!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "firm", true) == 0){if ([playerid] [Padmini]> = 4){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 200){PlayerInfo [player] [pPbiskey] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {set is your company! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed the key firms FFFF80 {}% s", idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 200!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "sfirma", true) == 0){if ([playerid] [Padmini]> = 4){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 200){PlayerInfo [player] [pPsbiskey] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {set is your company! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed the key firms FFFF80 {}% s", idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 200!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "the leader", true) == 0){if ([playerid] [Padmini]> = 5){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 13){PlayerInfo [player] [pLeader] = kolicinas; GetPlayerName (player, idname, sizeof (idname));PlayerInfo [player] [pMember] = 0; PlayerInfo [player] [prank] = 6;New ttext [120];if (playerid [player] [pLeader] == 1) {ttext = "Los Santos Police Department";}else if (playerid [player] [pLeader] == 2) {ttext = "Federal Bureau of Investigation";}else if (playerid [player] [pLeader] == 3) {ttext = "Special Weapons And Tactics";}else if (playerid [player] [pLeader] == 4) {ttext = "New Generation Racers";}else if (playerid [player] [pLeader] == 5) {ttext = "The Italian Mafia";}else if (playerid [player] [pLeader] == 6) {ttext = "Yakuza";}else if (playerid [player] [pLeader] == 7) {ttext = "Grove Street Family";}else if (playerid [player] [pLeader] == 8) {ttext = "Hitman Agency";}else if (playerid [player] [pLeader] == 9) {ttext = "Cable News Network";}else if (playerid [player] [pLeader] == 10) {ttext = "Taxi Company";}else if (playerid [player] [pLeader] == 11) {ttext = "Underground Racers";}else if (playerid [player] [pLeader] == 12) {ttext = "Bad Boys";}else if (playerid [player] [pLeader] == 13) {ttext = "East Side Locos";}*************************else if (playerid [player] [pLeader] == 14) {ttext = "Medical Department";}else {ttext = "[no]";}if (kolicinas == 0) {playerid [player] [PChar] = 0;}else if (kolicinas == 1) {playerid [player] [PChar] = 288;} / / Police Forceelse if (kolicinas == 2) {playerid [player] [PChar] = 165;} / / FBI / ATFelse if (kolicinas == 3) {playerid [player] [PChar] = 166;} / / National Guardelse if (kolicinas == 4) {playerid [player] [PChar] = 29;} / / NGRelse if (kolicinas == 5) {playerid [player] [PChar] = 113;} / / La Cosa Nostraelse if (kolicinas == 6) {playerid [player] [PChar] = 294;} / / Yakuzaelse if (kolicinas == 7) {playerid [player] [PChar] = 270;} / / gsfelse if (kolicinas == 8) {playerid [player] [PChar] = 299;} / / Hitmanselse if (kolicinas == 9) {playerid [player] [PChar] = 227;} / / News Reporterselse if (kolicinas == 10) {playerid [player] [PChar] = 61;} / / Taxi Cab Companyelse if (kolicinas == 11) {playerid [player] [PChar] = 101;} / / URelse if (kolicinas == 12) {playerid [player] [PChar] = 292;} / / ms13else if (kolicinas == 13) {playerid [player] [PChar] = 115;} / / ESL*********************else if (kolicinas == 14) {playerid [player] [PChar] = 274;} / / ESLSetPlayerSkin (player, PlayerInfo [player] [PChar]);format (string, sizeof (string), "set for the leaders of the organization are: ffffff} {% with" Light "| Admin: ffffff} {% s", ttext, sendername), SCM (player, COLOR_LIGHTBLUE, string);format (string, sizeof (string), "has set FFF} {% with" Light "for the leaders," WHITE "% s", idname, ttext), SCM (playerid, COLOR_LIGHTBLUE, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 14!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "donor", true) == 0){if ([playerid] [Padmini]> = 5){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 3){PlayerInfo [player] [pPsbiskey] = kolicinas;SetPVarInt (player, "DonatorRank" kolicinas); GetPlayerName (player, idname, sizeof (idname));New Drank [20];if (GetPVarInt (player, "DonatorRank") == 1) {Drank = "Bronze Donor";}else if (GetPVarInt (player, "DonatorRank") == 2) {Drank = "Silver Donor";}else if (GetPVarInt (player, "DonatorRank") == 3) {Drank = "Golden donor";}else {Drank = "No";}SacuvajIgraca (player);format (string, sizeof (string), "Added% s are player donor level: FFABAB {}% s", idname, drank);SendClientMessage (playerid, 0xFF8080FF, string);format (string, sizeof (string), "set you on the donor level: BCFF79 {}% {s} 80FF00! Admin: BCFF79 {}% {s} 80FF00." Drank, sendername);SendClientMessage (player, 0x80FF00FF, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 3");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "drug", true) == 0){if ([playerid] [Padmini]> = 5){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 200){PlayerInfo [player] [pDrugs] = kolicinas; GetPlayerName (player, idname, sizeof (idname));format (string, sizeof (string), "FF0000} {You changed the amount of drugs! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed the amount of drug FFFF80 {}% s", idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 200!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "materials", true) == 0){if ([playerid] [Padmini]> = 5){if (IsPlayerConnected (player)){if (kolicinas> = 1 | | kolicinas <= 2000){PlayerInfo [player] [pMats] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {I changed the amount of material! | {} FFFF80 Admin:% s", sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed the amount of material FFFF80 {}% s", idname), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 1 and over 2000!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "gender", true) == 0){if ([playerid] [Padmini]> = 5){if (IsPlayerConnected (player)){if (kolicinas> = 0 | | kolicinas <= 2){PlayerInfo [player] [pSex] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;New Drank [20];if (playerid [player] [pSex] == 0) {Drank = "No";}else if (playerid [player] [pSex] == 1) {Drank = "Male";}else if (playerid [player] [pSex] == 2) {Drank = "Female";}format (string, sizeof (string), "FF0000} {I changed the gender to:% s! | {} FFFF80 Admin:% s", drank, sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "{} Modified FF0000 have sex FFFF80 {}% s:% s", idname, drank), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 0 and over 2");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "rank", true) == 0){if ([playerid] [Padmini]> = 5){if (IsPlayerConnected (player)){if (kolicinas> = 0 | | kolicinas <= 6){PlayerInfo [player] [prank] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {Changed you rank on:% d! | {} FFFF80 Admin:% s", kolicinas, sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {Modified FFFF80 you rank {}% s:% d", idname, kolicinas), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 0 and over 6");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "the bank", true) == 0){if ([playerid] [Padmini]> = 6){if (IsPlayerConnected (player)){if (kolicinas> = 0 | | kolicinas <= 1000000){PlayerInfo [player] [pAccount] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {You changed the situation on the bank account of: $% d! | {} FFFF80 Admin:% s", kolicinas, sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed your bank account FFFF80 {}% s:% d $", idname, kolicinas), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 0 and over 1 million!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "money", true) == 0){if ([playerid] [Padmini]> = 6){if (IsPlayerConnected (player)){if (kolicinas> = 0 | | kolicinas <= 1000000){PlayerInfo [player] [pCash] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;ResetPlayerCash (player); GivePlayerCash (player, kolicinas);format (string, sizeof (string), "FF0000} {Changed you a cash balance of: $% d! | {} FFFF80 Admin:% s", kolicinas, sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {Modified're a cash balance of FFFF80 {}% s:% d $", idname, kolicinas), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 0 and over 1 million!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "respect", true) == 0){if ([playerid] [Padmini]> = 6){if (IsPlayerConnected (player)){if (kolicinas> = 0 | | kolicinas <= 50){PlayerInfo [player] [pexp] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {I changed the amount of respect points to:% d! | {} FFFF80 Admin:% s", kolicinas, sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed the amount of respect points from FFFF80 {}% s:% d $", idname, kolicinas), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 0 and over 50!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "admin", true) == 0){if ([playerid] [Padmini]> = 6 | | IsPlayerAdmin (playerid)){if (IsPlayerConnected (player)){if (kolicinas> = 0 | | kolicinas <= 6){PlayerInfo [player] [Padmini] = kolicinas; GetPlayerName (player, idname, sizeof (idname));New Aranka [20];if (playerid [player] [Padmini] == 6) {Aranka = "Head Admin";}else if (playerid [player] [Padmini] == 5) {Aranka = "5 Admin";}else if (playerid [player] [Padmini] == 1) {Aranka = "Admin level 1";}else if (playerid [player] [Padmini] == 2) {Aranka = "Admin level 2";}else if (playerid [player] [Padmini] == 3) {Aranka = "Admin level 3";}else if (playerid [player] [Padmini] == 4) {Aranka = "lvl 4 admin";}else {Aranka = "[no]";}printf ("% Admin% s has been enhanced with the lvl% d admin." sendername, idname, kolicinas);format (string, sizeof (string), "{} 6DDB00 Enhanced're in the position: BAEE86 {}% {s} 6DDB00 | Head Admin: {} BAEE86% s", Aranka, sendername);SendClientMessage (player, COLOR_LIGHTBLUE, string);format (string, sizeof (string), "{} He advanced FF5151 FF9999} you {% s} {FF5151 FF9999 at position {}% s", idname, Aranka);SendClientMessage (playerid, COLOR_LIGHTBLUE, string);}else return the SCM (playerid, Grey, "Do not go below 0 and over 6");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}else if (strcmp (choice, "satiigranja", true) == 0){if ([playerid] [Padmini]> = 6){if (IsPlayerConnected (player)){if (kolicinas> = 0 | | kolicinas <= 2000){PlayerInfo [player] [pConnectTime] = kolicinas; GetPlayerName (player, idname, sizeof (idname));/ / PlayerInfo [player] [pJob] = 0;format (string, sizeof (string), "FF0000} {Promijenjenti the number of hours of gameplay to:% d! | {} FFFF80 Admin:% s", kolicinas, sendername), SCM (player, 0xFF4141FF, string);format (string, sizeof (string), "FF0000} {You changed the number of hours of gameplay FFFF80 {}% s:% d $", idname, kolicinas), SCM (playerid, 0xFF4141FF, string);}else return the SCM (playerid, Grey, "Do not go below 0 and over 2000!");}else return the SCM (playerid, GREY, "That player is not online");}else return the SCM (playerid, GREY, "You're not authorized!");}}return 1;}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)