Buna ziua, ma numesc Andrei. Cand dau "F" sa intre in jail cade in gol pana ajunge jos pe pamant si moare va rog ma puteti ajuta? AICI niste poze cu problema
-edit-
Apropo si pe cei care-i bag in jail cad incontinuu pana ajung la pamant si mor si apoi iara cad pana li se duce jail-ul...
// JAIL SPAWN
new Float:gRandomJailSpawns[12][3] = {
{1757.1348,-1563.9214,1738.80},
{1762.0850,-1564.2567,1738.80},
{1765.7191,-1564.1948,1738.80},
{1769.6143,-1564.0420,1738.80},
{1773.9741,-1565.4312,1738.80},
{1778.8528,-1564.3851,1738.80},
{1778.7909,-1582.1433,1738.80},
{1774.2843,-1582.3098,1738.80},
{1769.5809,-1581.6857,1738.80},
{1765.7164,-1582.5916,1738.80},
{1761.4076,-1583.0607,1738.80},
{1757.4116,-1582.2372,1738.80}
};
sau?
AddStaticPickup(1239, 23, 1798.5801,-1578.1804,14.0827); // enter jail
AddStaticPickup(1239, 23, 1756.4181,-1577.8954,1742.5309); // exit jail
AddStaticPickup(1239, 23, 1762.0028,-1584.4185,1742.5264); // mdc jail
sau?
if (IsPlayerInRangeOfPoint(playerid,2,1798.5801,-1578.1804,14.0827)) // jail ls
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1756.4181,-1577.8954,1742.5309+0.5);
GameTextForPlayer(playerid, "~w~Los Santos Jail", 5000, 1);
PlayerInfo[playerid][pInt] = 0;
TogglePlayerControllable(playerid, 0);
SetTimerEx("UnFreezeStation", 200, 0, "i", playerid);
}
sau?
if (IsPlayerInRangeOfPoint(playerid,2,1756.4181,-1577.8954,1742.5309) && PlayerInfo[playerid][pJailed] == 0)//jail