Bug Onplayerkeystatechange
#3

pawn Код:
else if ((((newkeys & (KEY_SPRINT)) == (KEY_SPRINT)) && ((oldkeys & (KEY_SPRINT)) != (KEY_SPRINT))))
{
    if(IsPlayerInRangeOfPoint(playerid,3.0,1123.4500,-2036.6272,69.8872))
    {
        SetPlayerInterior(playerid, 1);
        SetPlayerPos(playerid,938.0398,97.6458,1001.2659);
        PlayerInfo[playerid][pInt] = 1;
        TogglePlayerControllable(playerid,0);
        GameTextForPlayer(playerid, "Ucitavanje Objekata", 5000, 5);
        SetTimerEx("UcitavanjeObejekata", 3000, false, "i", playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid,3.0,938.0398,97.6458,1001.2659))
    {
        SetPlayerPos(playerid,1123.4500,-2036.6272,69.8872);
        GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
        SetPlayerInterior(playerid, 0);
        PlayerInfo[playerid][pInt] = 0;
    }
}
Reply


Messages In This Thread
Bug Onplayerkeystatechange - by Stereotype - 23.12.2013, 09:32
Re: Bug Onplayerkeystatechange - by park4bmx - 23.12.2013, 09:42
Re: Bug Onplayerkeystatechange - by Aliassassin123456 - 23.12.2013, 09:42
Re: Bug Onplayerkeystatechange - by Stereotype - 23.12.2013, 10:05

Forum Jump:


Users browsing this thread: 1 Guest(s)