CMD:hood (it was working before, not anymore) ;_;
#10

Код:
stock IsPlayerNearHood(playerid, vehicleid)
{
	static
		Float:fX,
		Float:fY,
		Float:fZ;

	GetVehicleHood(vehicleid, fX, fY, fZ);

	return (GetPlayerVirtualWorld(playerid) == GetVehicleVirtualWorld(vehicleid)) && IsPlayerInRangeOfPoint(playerid, 6.0, fX, fY, fZ);
}
i'm pretty sure this isn't the issue, because i use this stock in mechanic skill too. No issue there.

Quote:

This forum requires that you wait 120 seconds between posts. Please try again in 50 seconds.

kalkor pls
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)