2 questions
#1

I have 2 questions.

1.I have made with MTA a jump high in air but how do i get coordinates to teleport up there?

2.I have made a moving object but when i do comment to move up it says "The object has been moved up!" and under that it says Unkown server command but the object isn't moving :S
Reply
#2

Quote:
Originally Posted by Futurezx
I have 2 questions.

1.I have made with MTA a jump high in air but how do i get coordinates to teleport up there?

2.I have made a moving object but when i do comment to move up it says "The object has been moved up!" and under that it says Unkown server command but the object isn't moving :S
1. Place a Miscellanious object where you want to tele, then convert it, and then take the coordinates, X,Y,Z and use SetPlayerPos using those, delete the object after doing that.
2. Add a return 1; on the bottom.
Reply
#3

Thanks it helped me a lot

But how with vehicles?
Reply
#4

Use Simon's DEBUG filterscript, after downloading & loading it into your server, teleport to the stunt, then use /v 411 (infernus), it will give you Infernus car, simple.
Reply
#5

Where i find his script do you have a link or something?
Reply
#6

Sure, but next time, use search, it will save you from being Flamed. :P

http://forum.sa-mp.com/index.php?topic=19488.0
Reply
#7

About the moving object again

Look this screenshot when i want to move it up.: http://i40.tinypic.com/30xc1fs.jpg

Код:
if( !strcmp(cmdtext,"/mou",true ))
  {
  MoveObject(helipad,382.001038,2500.741211,52.551369);
  SendClientMessage(playerid,COLOR_RED, "The object has been moved up! ");
  return 1;
  }

  if( !strcmp(cmdtext,"/mod",true ))
  {
  MoveObject(helipad,372.814697,2547.501709,14.510818);
  SendClientMessage(playerid, COLOR_RED, "The object has been moved down! ");
  return 1;
  }
Reply
#8

add speed amount in both of them.

MoveObject(helipad,382.001038,2500.741211,52.55136 9,speed);
MoveObject(helipad,372.814697,2547.501709,14.51081 8,speed);

edit:

also make OnPlayerCommandText return a value(positive).
Reply
#9

I'm new at scripting only for 2 days so can you make a example?
Reply
#10

pawn Код:
if( !strcmp(cmdtext,"/mou",true ))
  {
  MoveObject(helipad,382.001038,2500.741211,52.551369,100);
  SendClientMessage(playerid,COLOR_RED, "The object has been moved up! ");
  return 1;
  }

  if( !strcmp(cmdtext,"/mod",true ))
  {
  MoveObject(helipad,372.814697,2547.501709,14.510818,100);
  SendClientMessage(playerid, COLOR_RED, "The object has been moved down! ");
  return 1;
  }
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)