14.05.2015, 22:48
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 :
help me.
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;
}

