HELP ME PLSS!
#1

Hi all
Can Anyone Help Me To Make exit command from all interiors with enter button
I made it In my script but its not working
Reply
#2

Actually, you have to do that by your self, I don't think that there's fs which does it automatically.
Reply
#3

If there's an /enter command make /exit yourself with /enter as example
Reply
#4

I can give you type how to make it.

Check where the /enter teles when player in rage of point.
And then make /exit will tele the player to the place where he've entered.
Reply
#5

Код:
if(newkeys == KEY_SECONDARY_ATTACK)
    {
		if(IsPlayerConnected(playerid))
		{
			for(new i = 0; i < sizeof(HouseInfo); i++)
			{
				if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
				{
					//printf("Found House :%d",i);
					if(PlayerInfo[playerid][pPhousekey] == i || HouseInfo[i][hLock] == 0)
					{
						SetPlayerInterior(playerid,HouseInfo[i][hInt]);
						SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]);
						GameTextForPlayer(playerid, "~w~dobrodosao doma", 5000, 1);
						PlayerInfo[playerid][pInt] = HouseInfo[i][hInt];
						PlayerInfo[playerid][pHouseEntered] = 1;
						PlayerInfo[playerid][pLocal] = i;
						PlayerInfo[playerid][pVW] = i;
						SetPlayerVirtualWorld(playerid,i);
					}
					else
					{
						GameTextForPlayer(playerid, "~r~zakljucano", 5000, 1);
					}
				}
			}
		}
	}
this is command to enter and exit from all houses BUT theres problem I can EXIT form any house(actualy I can exit one time and thats when I buy house after that I can only enter :S)
Reply
#6

come on !
no one know how to make this work ? ((
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)