[Ajuda] O que tem de errado nisso?
#1

Jб olhei o sistema todo, nгo pude notar nada de errado, mбs in-game, nгo acontece nada, alguйm poderia me ajudar por favor? REP+!

Код:
if(KEY_HANDBRAKE && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && GetFactionType(playerid) != FACTION_POLICE)
	{
		if(PlayerHoldingWeapon(playerid, 43))
		{
			new Float:x,Float:y,Float:z,vehicle;
			foreach(Player, i)
			{
				if(IsPlayerInAnyVehicle(i))
				{
					vehicle = GetPlayerVehicleID(i);
					
						if(IsPlayerStreamedIn(i, playerid))
						{
							GetPlayerPos(i,x,y,z);
							if(IsPlayerAimingAt(playerid,x,y,z,10))
							{
								new string[68];
								format(string, sizeof(string), "~n~~n~~n~~n~~n~~n~~b~Placa: ~w~%s~n~~b~Velocidade: ~w~%d MPH", CarData[vehicle][carPlaca], GetVehicleSpeed(vehicle));
								GameTextForPlayer(playerid, string, 3500, 3);
								format(string, sizeof(string), "Placa: %s. Velocidade: %d MPH", CarData[vehicle][carPlaca], GetVehicleSpeed(vehicle) );
								SendClientMessage(playerid, -1, string);
								return 1;
							}
						}
				}
			}
		}
	}
Reply
#2

Resolvido!
Reply


Forum Jump:


Users browsing this thread: