Please Help
#1

I have working menus, but i cant able the teleport menus to teleport while in a vehicle. Please help me
And the help menu also needs to work inside a vehicle.
http://pastebin.com/m2c113f14
Reply
#2

When player is on foot you have to teleport the player, but when player is in vehicle you have to teleport the vehicle.
Reply
#3

??
I tried to add to the menu script like we do to the onplayercommandtext normal teleport, like SetVehiclePos
It didnt work
Maybe i did it wrong
Please go to my pastebin, and for 1 example able it to teleport or exec the menu action in a vehicle..
Reply
#4

I really need help in this.
Please
Reply
#5

Example:

pawn Код:
public OnPlayerSelectedMenuRow(playerid,row)
{
    new Menu:CurrentMenu = GetPlayerMenu(playerid);
    if(CurrentMenu == teleportmenu)
    {
      new playerveh = GetPlayerVehicleID(playerid);
        switch(row)
        {
            case 0:
            {
              LinkVehicleToInterior(playerveh, 0);
              SetVehiclePos(playerveh,425.4041,2528.9944,16.6491);
                SendClientMessage(playerid, 0xFFFFFFFF, "You have spawned at Boneyard");
            }
        }
    }
    return 1;
}
Reply
#6

thanks. i have to do that with every case?
Reply
#7

?
Reply
#8

It gave me 2 errors..... 1: not defined playerveh
2: variable needs to be in compounds
Reply
#9

If ya can do it teamviewer its fine.
Add me on xfire and we talk
my xfire:enphase
Reply
#10

help me please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)