Admins Saved Positions
#1

I need To Make 200 admin saved positions
so can someone help me to make /s X comman
X = num of teleport between 1-200
and /l X command for players to teleport to the admins saved positions
X = num of teleport between 1-200
Can you help me make those commands
Reply
#2

like gamerx? u should save them intro a file using dini
Reply
#3

Quote:
Originally Posted by Serediucr
like gamerx? u should save them intro a file using dini
yea like GamerX (Matite so cooooooooooooooooooooooooll server!!!!
And To save it in dini file.
like:
Teleport 1: X Y Z
Teleport 2: X Y Z
........

and also a command to remove 1 teleport and a command to remove all teleports

modify:
wait i want to make it save like:

/l 1: X Y Z
/l 2: X Y Z

OK?
please help me
Reply
#4

It depends on which saving system you have and what
your x,y,z variables is called.

Reply
#5

Quote:
Originally Posted by Chrham_2
It depends on which saving system you have and what
your x,y,z variables is called.

what dos it mean
it wont save?
I want to save that as dini file
Reply
#6

bump
2nd page
Reply
#7

cmon please help me 2nd page!!!!!
Make me the commands and that they will save as i sayd
Reply
#8

Well, you can create this:

first get 200 saved positions.

Код:
	
       if (strcmp("/l", cmdtext, true, 7) == 0) // /l [1-200]
	{
	new ID;
	switch(ID)
	{
	  case 1: SetPlayerPos(playerid,X,Y,Z);
	  case 2: SetPlayerPos(playerid,X,Y,Z);
	  case 3: SetPlayerPos(playerid,X,Y,Z);
         //and so on to case 200: 
	  }
	return 1;
	}
Happy scripting
Reply
#9

Quote:
Originally Posted by pagie1111
Well, you can create this:

first get 200 saved positions.

Код:
	
      if (strcmp("/l", cmdtext, true, 7) == 0) // /l [1-200]
	{
	new ID;
	switch(ID)
	{
	  case 1: SetPlayerPos(playerid,X,Y,Z);
	  case 2: SetPlayerPos(playerid,X,Y,Z);
	  case 3: SetPlayerPos(playerid,X,Y,Z);
        //and so on to case 200: 
	  }
	return 1;
	}
Happy scripting
absolute! good idea
Reply
#10

So I need to do it more 197 times? holy shit
And what about it savein a file?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)