bind f Problem
#1

hello guys.
i binded f for /enter and /exit for biz and house and..
but i have problem with it
if player on car used /enter and player can not Riding Car near biz and house .

code :
Код:
    if(PRESSED(KEY_SECONDARY_ATTACK))
    {
        if(OnRentMashinMessage[playerid] == true)
        {
			GameTextForPlayer(playerid, " ", 500, 3);
			TogglePlayerControllable(playerid, 1);
			RemovePlayerFromVehicle(playerid);
			OnRentMashinMessage[playerid] = false;
		}
			OnPlayerCommandText(playerid, "/exit");
			OnPlayerCommandText(playerid, "/enter");
			return 0;
	}
help me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)