SA-MP Forums Archive
[Ajuda] Objetos - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Objetos (/showthread.php?tid=249588)



[Ajuda] Objetos - Leo_Lost - 19.04.2011

Ae Galera queria saber porque quando vo Plantar algum Objeto no meu GameMode exemplo:eu planto uma barreira fala que foi plantada mas o objeto nao apareзe so fala que planto ele fica invisivel, Nao e so o Bloqueio axo que todos os objetos que precisa de CMD para plantar fica assim Vlws...


Код:
	}
	if(strcmp(cmdtext, "/bloqueio", true)==0 || strcmp(cmdtext, "/bq", true)==0)
	{
    	if(PlayerPaintballing[playerid] != 0)
    	{
	   		SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo pode por bloqueios no evento!");
	   		return 1;
    	}
		if (!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Vocк nгo й um policial!");
		if (pRoadCones[playerid] != 0) return SendClientMessage(playerid, COLOR_GREY, "Vocк sу pode implantar 1 Bloqueio por vez, /rbq - para remover seu bloqueio.");
		new Float:X, Float:Y, Float:Z, Float:A;
		GetPlayerPos(playerid, X, Y, Z);
		GetPlayerFacingAngle(playerid, A);
		pRoadCones[playerid] = F_CreateObject(4526, X, Y, Z+1, 0.0, 0.0, A+110, 300.0);
		SetPlayerPos(playerid, X, Y, Z+1);
		GameTextForPlayer(playerid, "~w~Bloqueio ~r~Criado", 5000, 5);
		SendClientMessage(playerid, COLOR_GREEN, "Bloqueio Implantado... Use /rbq Para Remover e Poder Criar Mais!.");
		format(string, sizeof(string), "Estado: Um Bloqueio foi posto por %s.", PlayerName(playerid));
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
			if(IsPlayerConnected(i))
			{
				if(IsACop(i))
				{
					SendClientMessage(i, TEAM_BLUE_COLOR, string);
					if (PlayerInfo[i][pCargo] >= 5 && IsACop(i))
					{
						SendClientMessage(i, COLOR_YELLOW, "Vocк pode remover todos os Bloqueios usando /rbqall");
					}
				}
			}
		}
		return 1;
	}



Re: Ajuda em Objetos - Carl_Thuse - 19.04.2011

F_CreateObject? Recomendo usar o streamer do icognito.
CreateDynamicObject. '-'


Re: Ajuda em Objetos - [FeK]Netizen - 19.04.2011

como o Carl falo acima, usa o Icognito's Streamer


Re: Ajuda em Objetos - [R] ousenber [K] - 19.04.2011

netizen aonde acho o nigoso de deixa como CreateDynamicObject?? procurei no search mais nao acho!


Re: Ajuda em Objetos - LuxurioN™ - 19.04.2011

Quote:
Originally Posted by dylan4021
Посмотреть сообщение
netizen aonde acho o nigoso de deixa como CreateDynamicObject?? procurei no search mais nao acho!
Pesquisou mesmo? Usei o mesmo modo de pesquisa e encontrei na segunda pбgina!

[REL] Streamer Plugin v2.5.2