Spawn menu
#1

I'm makeing a /test menu, if you say /test a dialog will come up with 2 choises TestMenu1 and TestMenu2, i got the whole stuff but i have one problem, how can i make so that the cars will spawn close to the player? example:

Код:
  if(dialogid == 2 && response)
  {
    switch(listitem)
    {
      case 0:
      {
				CreateVehicle(515, ??, ??, ??, ??, 670, 60, 12000);
      }
      case 1:
      {
				CreateVehicle(515, ??, ??, ??, ??, 670, 60, 12000);
      }
      case 2:
      {
				CreateVehicle(515, ??, ??, ??, ??, 670, 60, 12000);
      }
    }
  }
I got everything so far good i think, but those ?? must become so that they spawn close to the player. What must i add? i cant find it.
Reply


Messages In This Thread
Spawn menu - by security - 28.02.2010, 08:40
Re: Spawn menu - by [HiC]TheKiller - 28.02.2010, 08:46
Re: Spawn menu - by Norck - 28.02.2010, 08:47
Re: Spawn menu - by Gozerr - 28.02.2010, 08:49
Re: Spawn menu - by security - 28.02.2010, 08:56

Forum Jump:


Users browsing this thread: 5 Guest(s)