[HELP] bussines enter
#3

here is code when I press enter button I then enter in the bussines

pawn Код:
if(newkeys & KEY_SECONDARY_ATTACK)
    {
        for(new i = 0; i < sizeof(BussinesInfo); i++)
        {
            if(PlayerToPoint(4,playerid,BussinesInfo[i][benterX],BussinesInfo[i][benterY],BussinesInfo[i][benterZ]))
            {
                if(BussinesInfo[i][bLock] == 1) return GameTextForPlayer(playerid,"~r~Locked!",2500,1);
                SetPlayerInterior(playerid,BussinesInfo[i][bInterior]);
                SetPlayerVirtualWorld(playerid,BussinesInfo[i][bVWorld]);
                SetPlayerPos_H(playerid,BussinesInfo[i][bexitX],BussinesInfo[i][bexitY],BussinesInfo[i][bexitZ]);
                EntID[playerid] = i;
                break;
            }
        }
}
and like this I put in on dialogresponse and it not working
Reply


Messages In This Thread
[HELP] bussines enter - by Luca12 - 03.06.2014, 20:25
Re: [HELP] bussines enter - by awsomedude - 03.06.2014, 20:29
Re: [HELP] bussines enter - by Luca12 - 03.06.2014, 20:37
Re: [HELP] bussines enter - by KevinPRINCE - 03.06.2014, 20:54
Re: [HELP] bussines enter - by Luca12 - 03.06.2014, 21:46
Re: [HELP] bussines enter - by Luca12 - 04.06.2014, 12:41

Forum Jump:


Users browsing this thread: 1 Guest(s)