18.07.2012, 16:26
Hello
I Want Show How To Create Teleport Cmd's...
Some New Guy Don't Know How To Create Teleport Cmd's So I am Create A Tutorial
1)Go to place of where you want to be teleport with cmd's..
2)Type /save,and go to you are Gta Users Files And You Can see there a File Name: SAMP so get in this file..
than you can see Savedpositions...
3)get in Savedpositions.
4)Copy The Middle 6 Words
Explain:If You Are Code:AddPlayerClass(0,136.6095,667.3829,5.8040,220 .6396,0,0,0,0,0,0); //
So You Need Only Copy The Code Like This: 136.6095,667.3829,5.8040
Than You Need Type:
#include <a_samp> in top...
It Is For New Guy Who Don't Know How Create Teleport Cmd's
Thanks!
I Want Show How To Create Teleport Cmd's...
Some New Guy Don't Know How To Create Teleport Cmd's So I am Create A Tutorial
1)Go to place of where you want to be teleport with cmd's..
2)Type /save,and go to you are Gta Users Files And You Can see there a File Name: SAMP so get in this file..
than you can see Savedpositions...
3)get in Savedpositions.
4)Copy The Middle 6 Words
Explain:If You Are Code:AddPlayerClass(0,136.6095,667.3829,5.8040,220 .6396,0,0,0,0,0,0); //
So You Need Only Copy The Code Like This: 136.6095,667.3829,5.8040
Than You Need Type:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/THERE IS TEXT DA CMD", true)) { SetPlayerPos(playerid, 136.6095,667.3829,5.8040 ); SendClientMessage(playerid, 0x00FF00AA, "You have teleported to YOU ARE PLACE NAME."); return 1; } return 1; }
Код:
#include <a_samp>
It Is For New Guy Who Don't Know How Create Teleport Cmd's
Thanks!