[HELP RБPIDA] /Atualizarcarro
#10

[i] manow tipo, to sу com 1 dos meus gms aqui, ainda nao to no pc, mais no meu pen drive achei, tenta com ele, se nao der, eu vou ter quase certeza que nao eh no comando , eh outro lugar, e se for a gente descobre ae , e dpois posto do outro gm tbm, tenta ai,

Код:
	if (strcmp(cmd, "/atualizarcarro", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
	        if(gPlayerLogged[playerid] == 0)
	        {
	            SendClientMessage(playerid, COLOR_GREY, "  Vocк nгo estб logado.");
	            return 1;
	        }
			new House = PlayerInfo[playerid][pPhousekey];
			GetPlayerName(playerid, playername, sizeof(playername));
			if (House != 255 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPhousekey]][hOwner], true) == 0)
			{
				new gunid[16];
				tmp = strtok(cmdtext, idx);
				if(!strlen(tmp))
				{
					format(string, sizeof(string), "USE: /atualizarcarro [nome do carro]");
					SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
					SendClientMessage(playerid, COLOR_WHITE,"*** VENDA DE CARROS CADA UM | CUSTO: R$100000 ***");
					SendClientMessage(playerid, COLOR_GRAD2,string);
					if(PlayerInfo[playerid][pLevel] >= 3)
					{
						SendClientMessage(playerid, COLOR_GRAD3, "Grбtis: blistacompact clover elegant emperor glendale greenwood");
						SendClientMessage(playerid, COLOR_GRAD3, "Grбtis: huntley jester landstalker merit nebula sabre stratum");
						SendClientMessage(playerid, COLOR_GRAD3, "Grбtis: sunrise tahoma uranus");
						SendClientMessage(playerid, COLOR_GRAD3, "VIP'S : stretch elegy phoenix hotknife bandito sultan nrg500");
					}
					SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
					return 1;
				}
				if(SBizzInfo[5][sbProdutos] == 0)
				{
					GameTextForPlayer(playerid, "~r~Falta Produtos", 5000, 1);
					return 1;
				}
				strmid(gunid, tmp, 0, strlen(cmdtext), 255);
				if (GetPlayerMoneyEx(playerid) > 100000)
				{
					if(strcmp(gunid, "stretch", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Stretch");
						HouseInfo[House][hVec] = 409;
					}
					else if(strcmp(gunid, "hotknife", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Hotknife");
						HouseInfo[House][hVec] = 434;
					}
					else if(strcmp(gunid, "nrg500", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e uma  NRG-500");
						HouseInfo[House][hVec] = 522;
					}
					else if(strcmp(gunid, "bandito", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Bandito");
						HouseInfo[House][hVec] = 568;
					}
					else if(strcmp(gunid, "sultan", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Sultan");
						HouseInfo[House][hVec] = 560;
					}
					else if(strcmp(gunid, "elegy", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Elegy");
						HouseInfo[House][hVec] = 562;
					}
					else if(strcmp(gunid, "phoenix", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Phoenix");
						HouseInfo[House][hVec] = 603;
					}
					else if(strcmp(gunid, "blistacompact", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Blista Compact");
						HouseInfo[House][hVec] = 496;
					}
					else if(strcmp(gunid, "clover", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Clover");
						HouseInfo[House][hVec] = 542;
					}
					else if(strcmp(gunid, "elegant", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Elegant");
						HouseInfo[House][hVec] = 507;
					}
					else if(strcmp(gunid, "emperor", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Emperor");
						HouseInfo[House][hVec] = 585;
					}
					else if(strcmp(gunid, "glendale", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Glendale");
						HouseInfo[House][hVec] = 466;
					}
					else if(strcmp(gunid, "greenwood", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Greenwood");
						HouseInfo[House][hVec] = 492;
					}
					else if(strcmp(gunid, "huntley", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Huntley");
						HouseInfo[House][hVec] = 579;
					}
					else if(strcmp(gunid, "jester", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Jester");
						HouseInfo[House][hVec] = 559;
					}
					else if(strcmp(gunid, "landstalker", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Landstalker");
						HouseInfo[House][hVec] = 400;
					}
					else if(strcmp(gunid, "merit", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Merit");
						HouseInfo[House][hVec] = 551;
					}
					else if(strcmp(gunid, "nebula", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Nebula");
						HouseInfo[House][hVec] = 516;
					}
					else if(strcmp(gunid, "sabre", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Sabre");
						HouseInfo[House][hVec] = 475;
					}
					else if(strcmp(gunid, "stratum", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Stratum");
						HouseInfo[House][hVec] = 561;
					}
					else if(strcmp(gunid, "sunrise", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Sunrise");
						HouseInfo[House][hVec] = 550;
					}
					else if(strcmp(gunid, "tahoma", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Tahoma");
						HouseInfo[House][hVec] = 566;
					}
					else if(strcmp(gunid, "uranus", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Nova Melhoria: O carro da sua casa agora e um Uranus");
						HouseInfo[House][hVec] = 558;
					}
					else
					{
						SendClientMessage(playerid, COLOR_GRAD6, "   Carro desconhecido ou nгo permitido.");
						return 1;
					}
					SendClientMessage(playerid, COLOR_GRAD6, "Seu novo carro sera entregue no prazo de 24 Horas -R$100000");
					OnPropUpdate();
					GivePlayerMoneyEx(playerid,-100000);
					SBizzInfo[5][sbTill] += 100000;
					ExtortionSBiz(5, 100000);
					SBizzInfo[5][sbProdutos]--;
					PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0);
				}
				else
				{
					SendClientMessage(playerid, COLOR_GRAD2, "   Vocк nгo possui essa grana (R$100000)");
					return 1;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD2, "   Vocк nгo possui uma casa");
				return 1;
			}
		}
		return 1;
	}
n te garanto que vai dar ;// mais tenta ai

@edit

achei aki no pen tbm meu outro gm

Код:
	if (strcmp(cmd, "/atualizarcarro", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			new House = PlayerInfo[playerid][pPHousekey];
			GetPlayerName(playerid, playername, sizeof(playername));
			if (House != 255 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPHousekey]][hOwner], true) == 0)
			{
				new gunid[16];
				tmp = strtok(cmdtext, idx);
				if(!strlen(tmp))
				{
					format(string, sizeof(string), "USE: /atualizarcarro [carname]");
					SendClientMessage(playerid, COLOR_LIGHTBLUE,"_______________________________________");
					SendClientMessage(playerid, COLOR_WHITE,"*** Loja de Carros Cost R$100000 ***");
					SendClientMessage(playerid, COLOR_GRAD2,string);
					if(PlayerInfo[playerid][pLevel] >= 3)
					{
						SendClientMessage(playerid, COLOR_WHITE, "Carros Normais: blistacompact clover elegant emperor glendale greenwood");
						SendClientMessage(playerid, COLOR_WHITE, "Carros Normais: huntley jester landstalker sultan nebula sabre stratum");
						SendClientMessage(playerid, COLOR_WHITE, "Carros Normais: sunrise tahoma uranus");
						SendClientMessage(playerid, COLOR_WHITE, "CARROS VIPS (APENAS JOGADOR VIP): stretch elegy phoenix hotknife bandito sultan nrg500");
					}
					SendClientMessage(playerid, COLOR_LIGHTBLUE,"_______________________________________");
					return 1;
				}
				strmid(gunid, tmp, 0, strlen(cmdtext), 255);
				if (GetPlayerMoneyEx(playerid) > 100000)
				{
					if(strcmp(gunid, "stretch", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Stretch");
						HouseInfo[House][hVec] = 409;
					}
					else if(strcmp(gunid, "hotknife", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Hotknife");
						HouseInfo[House][hVec] = 434;
					}
					else if(strcmp(gunid, "nrg500", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a)  NRG-500");
						HouseInfo[House][hVec] = 522;
					}
					else if(strcmp(gunid, "bandito", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Bandito");
						HouseInfo[House][hVec] = 568;
					}
					else if(strcmp(gunid, "infernus", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Sultan");
						HouseInfo[House][hVec] = 411;
					}
					else if(strcmp(gunid, "elegy", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Elegy");
						HouseInfo[House][hVec] = 562;
					}
					else if(strcmp(gunid, "phoenix", true, strlen(gunid)) == 0)
					{
					    if(PlayerInfo[playerid][pVIP] < 1)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й membro vip !");
					        return 1;
					    }
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Phoenix");
						HouseInfo[House][hVec] = 603;
					}
					else if(strcmp(gunid, "blistacompact", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Blista Compact");
						HouseInfo[House][hVec] = 496;
					}
					else if(strcmp(gunid, "clover", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Clover");
						HouseInfo[House][hVec] = 542;
					}
					else if(strcmp(gunid, "elegant", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Elegant");
						HouseInfo[House][hVec] = 507;
					}
					else if(strcmp(gunid, "emperor", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Emperor");
						HouseInfo[House][hVec] = 585;
					}
					else if(strcmp(gunid, "glendale", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Glendale");
						HouseInfo[House][hVec] = 466;
					}
					else if(strcmp(gunid, "greenwood", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Greenwood");
						HouseInfo[House][hVec] = 492;
					}
					else if(strcmp(gunid, "huntley", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Huntley");
						HouseInfo[House][hVec] = 579;
					}
					else if(strcmp(gunid, "jester", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Jester");
						HouseInfo[House][hVec] = 559;
					}
					else if(strcmp(gunid, "landstalker", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Landstalker");
						HouseInfo[House][hVec] = 400;
					}
					else if(strcmp(gunid, "sultan", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Sultan");
						HouseInfo[House][hVec] = 560;
					}
					else if(strcmp(gunid, "nebula", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Nebula");
						HouseInfo[House][hVec] = 516;
					}
					else if(strcmp(gunid, "sabre", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Sabre");
						HouseInfo[House][hVec] = 475;
					}
					else if(strcmp(gunid, "stratum", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Stratum");
						HouseInfo[House][hVec] = 561;
					}
					else if(strcmp(gunid, "sunrise", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Sunrise");
						HouseInfo[House][hVec] = 550;
					}
					else if(strcmp(gunid, "tahoma", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Tahoma");
						HouseInfo[House][hVec] = 566;
					}
					else if(strcmp(gunid, "uranus", true, strlen(gunid)) == 0)
					{
						SendClientMessage(playerid, COLOR_GRAD6, "Atualizaзгo: Vocк comprou o(a) Uranus");
						HouseInfo[House][hVec] = 558;
					}
					else
					{
						SendClientMessage(playerid, COLOR_GRAD6, "   Unrecognized Car ou Donate Rank not High enorgh.");
						return 1;
					}
					SendClientMessage(playerid, COLOR_GRAD6, "Espere um GMX ou 24hrs para que ele chegue -R$100000");
					OnPropUpdate();
					GivePlayerMoneyEx(playerid,-100000);
					SBizzInfo[5][sbTill] += 100000;
					ExtortionSBiz(5, 100000);
					PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0);
				}
				else
				{
					SendClientMessage(playerid, COLOR_GRAD2, "   Vocк nгo tem (R$100000)");
					return 1;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD2, "   Vocк nгo tem uma casa");
				return 1;
			}
		}
		return 1;
	}
e ainda esse :

Код:
if (strcmp(cmd, "/atualizarcarro", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			new house = PlayerInfo[playerid][pPhousekey];
			GetPlayerName(playerid, playername, sizeof(playername));
			new str[256];
			if (house != 255)
			{
                if(strcmp(playername, HouseInfo[PlayerInfo[playerid][pPhousekey]][hOwner], true) != 0 && strcmp(PlayerInfo[playerid][pMarriedTo], HouseInfo[PlayerInfo[playerid][pPhousekey]][hOwner], true) != 0)
				{
					SendClientMessage(playerid, COLOR_GREY, "    Vocк nгo tem uma casa !");
					return 1;
				}
				new gunid[16];
				tmp = strtok(cmdtext, idx);
				if(!strlen(tmp))
				{
                    SendClientMessage(playerid, COLOR_GREEN,"______________________________________");
                    SendClientMessage(playerid, COLOR_WHITE,"*** Atualizaзгo mobiliбria ***");
					format(string, sizeof(string), "USO: /atualizarcarro [nome]");
					SendClientMessage(playerid, COLOR_WHITE,string);
					SendClientMessage(playerid, COLOR_GRAD3, "Carros: Greenwood - Grendale - Emperor - Elegant - Blistacompact - Clover - Stratum - Sabre - Uranus");
					SendClientMessage(playerid, COLOR_GRAD3, "Carros: Landstalker - Merit - Nebula - Tahoma - Hermes - Stallion - Sunrise - Yosemite - Sanchez");
					SendClientMessage(playerid, COLOR_GRAD3, "Carros: Admiral - Blade - Savanna - Buccanee - Pony - Elegant - Esperant - Feltze - PCJ600 - Huntley");
					SendClientMessage(playerid, COLOR_GRAD3, "Carros: Regina - Remington - Solair - Vincent - Virgo - Voodoo - Washing - Hustler - Peren - Rancher");
                    SendClientMessage(playerid, COLOR_GRAD3, "Premium Silver: Alpha - Banshee - Bfinject - Broadway - Buffalo - Bullet - Cheetah - Club - Comet");
				    SendClientMessage(playerid, COLOR_GRAD3, "Premium Silver: Elegy - Euros - Flash - Infernus - Jester - Mesa - MonsterB - Hotring - Nrg-500 - Bandito");
					SendClientMessage(playerid, COLOR_GRAD3, "Premium Silver: Sultan - Supergt - Turismo - Windsor - Zr350 - (Fcr-900) - Phoenix - Sentinel");
					SendClientMessage(playerid, COLOR_YELLOW, "Premium Gold: Hotknife - Bandito - MonsterB - Hotring - (Nrg-500) - Quad");
					}
					return 1;
				}
				if(SBizzInfo[5][sbProducts] == 0)
				{
					GameTextForPlayer(playerid, "~r~fim de estoque", 5000, 1);
					return 1;
				}
				strmid(gunid, tmp, 0, strlen(cmdtext), 255);
				if(GetPlayerGP(playerid) >= 100000)
				{
					if(strcmp(gunid, "greenwood",true) == 0){HouseInfo[house][hVec] = 492;}
					else if(strcmp(gunid, "grendale",true) == 0){HouseInfo[house][hVec] = 466;}
					else if(strcmp(gunid, "emperor",true) == 0){HouseInfo[house][hVec] = 585;}
					else if(strcmp(gunid, "elegant",true) == 0){HouseInfo[house][hVec] = 507;}
					else if(strcmp(gunid, "blistacompact",true) == 0){HouseInfo[house][hVec] = 496;}
					else if(strcmp(gunid, "clover",true) == 0){HouseInfo[house][hVec] = 542;}
					else if(strcmp(gunid, "stratum",true) == 0){HouseInfo[house][hVec] = 561;}
					else if(strcmp(gunid, "sabre",true) == 0){HouseInfo[house][hVec] = 475;}
					else if(strcmp(gunid, "uranus",true) == 0){HouseInfo[house][hVec] = 558;}
					else if(strcmp(gunid, "huntley",true) == 0){HouseInfo[house][hVec] = 579;}
					else if(strcmp(gunid, "landstalker",true) == 0){HouseInfo[house][hVec] = 492;}
					else if(strcmp(gunid, "merit",true) == 0){HouseInfo[house][hVec] = 551;}
					else if(strcmp(gunid, "nebula",true) == 0){HouseInfo[house][hVec] = 516;}
					else if(strcmp(gunid, "tahoma",true) == 0){HouseInfo[house][hVec] = 566;}
					else if(strcmp(gunid, "hermes",true) == 0){HouseInfo[house][hVec] = 474;}
					else if(strcmp(gunid, "stallion",true) == 0){HouseInfo[house][hVec] = 439;}
					else if(strcmp(gunid, "sunrise",true) == 0){HouseInfo[house][hVec] = 550;}
					else if(strcmp(gunid, "yosemite",true) == 0){HouseInfo[house][hVec] = 554;}
					else if(strcmp(gunid, "pcj600",true) == 0){HouseInfo[house][hVec] = 461;}
					else if(strcmp(gunid, "admiral",true) == 0){HouseInfo[house][hVec] = 445;}
					else if(strcmp(gunid, "blade",true) == 0){HouseInfo[house][hVec] = 536;}
					else if(strcmp(gunid, "savanna",true) == 0){HouseInfo[house][hVec] = 567;}
					else if(strcmp(gunid, "buccanee",true) == 0){HouseInfo[house][hVec] = 518;}
					else if(strcmp(gunid, "pony",true) == 0){HouseInfo[house][hVec] = 413;}
					else if(strcmp(gunid, "elegant",true) == 0){HouseInfo[house][hVec] = 507;}
					else if(strcmp(gunid, "esperant",true) == 0){HouseInfo[house][hVec] = 419;}
					else if(strcmp(gunid, "feltze",true) == 0){HouseInfo[house][hVec] = 533;}
					else if(strcmp(gunid, "regina",true) == 0){HouseInfo[house][hVec] = 479;}
					else if(strcmp(gunid, "remigton",true) == 0){HouseInfo[house][hVec] = 534;}
					else if(strcmp(gunid, "solair",true) == 0){HouseInfo[house][hVec] = 458;}
					else if(strcmp(gunid, "vincent",true) == 0){HouseInfo[house][hVec] = 540;}
					else if(strcmp(gunid, "virgo",true) == 0){HouseInfo[house][hVec] = 491;}
					else if(strcmp(gunid, "voodoo",true) == 0){HouseInfo[house][hVec] = 412;}
					else if(strcmp(gunid, "washing",true) == 0){HouseInfo[house][hVec] = 421;}
					else if(strcmp(gunid, "hustler",true) == 0){HouseInfo[house][hVec] = 545;}
					else if(strcmp(gunid, "peren",true) == 0){HouseInfo[house][hVec] = 404;}
					else if(strcmp(gunid, "rancher",true) == 0){HouseInfo[house][hVec] = 505;}
					else if(strcmp(gunid, "washing",true) == 0){HouseInfo[house][hVec] = 421;}
					// PREMMY's
					else if(strcmp(gunid, "alpha",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 602;}
                    else if(strcmp(gunid, "banshee",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 429;}
                    else if(strcmp(gunid, "bfinject",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 424;}
                    else if(strcmp(gunid, "broadway",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 575;}
                    else if(strcmp(gunid, "buffalo",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 402;}
                    else if(strcmp(gunid, "bullet",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 541;}
                    else if(strcmp(gunid, "cheetah",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 415;}
                    else if(strcmp(gunid, "elegy",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 562;}
                    else if(strcmp(gunid, "euros",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 587;}
					else if(strcmp(gunid, "flash",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 565;}
                    else if(strcmp(gunid, "infernus",true) == 0 && PlayerInfo[playerid][pVIP] >= 1){HouseInfo[house][hVec] = 411;}
                    else if(strcmp(gunid, "jester",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 559;}
                    else if(strcmp(gunid, "mesa",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 500;}
                    else if(strcmp(gunid, "phoenix",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 603;}
                    else if(strcmp(gunid, "sentinel",true) == 0 && PlayerInfo[playerid][pVIP] >= 1){HouseInfo[house][hVec] = 405;}
                    else if(strcmp(gunid, "club",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 589;}
					else if(strcmp(gunid, "comet",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 421;}
                    else if(strcmp(gunid, "sultan",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 460;}
                    else if(strcmp(gunid, "supergt",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 506;}
					else if(strcmp(gunid, "turismo",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 451;}
					else if(strcmp(gunid, "windsor",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 555;}
					else if(strcmp(gunid, "zr350",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 477;}
					else if(strcmp(gunid, "fcr-900",true) == 0 && PlayerInfo[playerid][pVIP] >= 1) {HouseInfo[house][hVec] = 521;}
					// PREMMY PLATINUM
					else if(strcmp(gunid, "hotknife",true) == 0 && PlayerInfo[playerid][pVIP] > 1){HouseInfo[house][hVec] = 434;}
					else if(strcmp(gunid, "bandito",true) == 0 && PlayerInfo[playerid][pVIP] > 1){HouseInfo[house][hVec] = 568;}
					else if(strcmp(gunid, "monsterb",true) == 0 && PlayerInfo[playerid][pVIP] > 1){HouseInfo[house][hVec] = 557;}
					else if(strcmp(gunid, "hotring",true) == 0 && PlayerInfo[playerid][pVIP] > 1){HouseInfo[house][hVec] = 494;}
					else if(strcmp(gunid, "nrg-500",true) == 0 && PlayerInfo[playerid][pVIP] > 1){HouseInfo[house][hVec] = 522;}
					else if(strcmp(gunid, "quad",true) == 0 && PlayerInfo[playerid][pVIP] > 1){HouseInfo[house][hVec] = 471;
					}
    				else
					{
						SendClientMessage(playerid, COLOR_GRAD2, "    (Error 01) Carro invбlido.");
						return 1;
					}
     				format(str, 256, "Nova atualizaзгo: Seu veнculo domiciliar й agora um %s", gunid);
					SendClientMessage(playerid, COLOR_WHITE, str);
					SendClientMessage(playerid, COLOR_GRAD6, "Seu carro serб entregue ao passar de 24 horas, (R$-100000)");
					OnPropUpdate();
					if(PlayerInfo[playerid][pVIP] < 3)
					{
					    GivePlayerGP(playerid,-100000);
					}
					SBizzInfo[5][sbTill] += 100000;
					ExtortionSBiz(5, 100000);
					SBizzInfo[5][sbProducts]--;
		    		PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0);
				}
				else
				{
					if(PlayerInfo[playerid][pVIP] < 3)
					{
					    SendClientMessage(playerid, COLOR_GRAD2, "   Vocк nгo pode paga-lo (R$100000)");
					    return 1;
					}
					format(str, 256, "Nova atualizaзгo: Seu veнculo domiciliar й agora um %s", gunid);
					SendClientMessage(playerid, COLOR_WHITE, str);
					SendClientMessage(playerid, COLOR_GRAD6, "Seu carro serб entregue ao passar de 24 horas, (R$-100000)");
					OnPropUpdate();
					if(PlayerInfo[playerid][pVIP] < 3)
					{
					    GivePlayerGP(playerid,-100000);
					}
					SBizzInfo[5][sbTill] += 100000;
					ExtortionSBiz(5, 100000);
					SBizzInfo[5][sbProducts]--;
		    		PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0);
				}
			}
			else
			{
		        if(PlayerInfo[playerid][pVIP] < 3)
		        {
				    SendClientMessage(playerid, COLOR_GRAD2, "   Vocк nгo tem uma casa.");
				    return 1;
				}
			}
		}
		return 1;
	}
Quem sabe algum funfa ;x testa ai, eu acho que esses 3 era os que eu usava e dava
Reply


Messages In This Thread
[HELP RБPIDA] /Atualizarcarro - by Coco-Marrom - 14.12.2010, 17:56
Re: [HELP RБPIDA] /Atualizarcarro - by matheuzinho - 14.12.2010, 17:58
Re: [HELP RБPIDA] /Atualizarcarro - by Coco-Marrom - 14.12.2010, 18:07
Re: [HELP RБPIDA] /Atualizarcarro - by Diogo_braz - 14.12.2010, 18:35
Re: [HELP RБPIDA] /Atualizarcarro - by Coco-Marrom - 14.12.2010, 18:49
Re: [HELP RБPIDA] /Atualizarcarro - by Pierox_ - 14.12.2010, 21:52
Re: [HELP RБPIDA] /Atualizarcarro - by Coco-Marrom - 14.12.2010, 22:14
Re: [HELP RБPIDA] /Atualizarcarro - by rjjj - 14.12.2010, 23:53
Re: [HELP RБPIDA] /Atualizarcarro - by Coco-Marrom - 15.12.2010, 02:40
Re: [HELP RБPIDA] /Atualizarcarro - by Pierox_ - 15.12.2010, 03:16

Forum Jump:


Users browsing this thread: 1 Guest(s)