[Tutorial] How To Make Teleport Cmd's
#1

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:

Код:
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>
#include <a_samp> in top...
It Is For New Guy Who Don't Know How Create Teleport Cmd's
Thanks!
Reply
#2

Nothing interesting if you searched for things like this you would find many of them because it's so easy that a kid can do it sorry but really nothing hard here
Reply
#3

I Said It Is For new..guy who don't know.. and kid's don't know what is teleport...
Reply
#4

Try to put more detail into it, you just say, put this code here. And done? Explain more next time please.
If you're having trouble, refer here: https://sampforum.blast.hk/showthread.php?tid=65567
Reply
#5

Ok...
see there:
public OnPlayerCommandText(playerid, cmdtext[]) =This is for the Player can use cmd's..
{
if(!strcmp(cmdtext, "/THERE IS TEXT DA CMD", true))=This is for The Cmd's Which Cmd's You Want To Teleport...
{
SetPlayerPos(playerid, 136.6095,667.3829,5.8040 );=SetPlayerPos mean You Stand The Pos Where You Save For Teleport Code..
SendClientMessage(playerid, 0x00FF00AA, "You have teleported to YOU ARE PLACE NAME.");=This is Text.. You Can Change Colour The Text And The Text...
return 1;
}
return 1;
}
Reply
#6

[Image: images?q=tbn:ANd9GcQBt1MO1g2XsbhwY-nAn4u...Wa2YyaypUw]
Reply
#7

https://sampforum.blast.hk/showthread.php?tid=316019
https://sampforum.blast.hk/showthread.php?tid=147685
https://sampforum.blast.hk/showthread.php?tid=125590
https://sampforum.blast.hk/showthread.php?tid=195753
https://sampforum.blast.hk/showthread.php?tid=358558
https://sampforum.blast.hk/showthread.php?tid=230341
Reply
#8

Quote:
Originally Posted by Tuntun
Посмотреть сообщение
Ok...
see there:
public OnPlayerCommandText(playerid, cmdtext[]) =This is for the Player can use cmd's..
{
if(!strcmp(cmdtext, "/THERE IS TEXT DA CMD", true))=This is for The Cmd's Which Cmd's You Want To Teleport...
{
SetPlayerPos(playerid, 136.6095,667.3829,5.8040 );=SetPlayerPos mean You Stand The Pos Where You Save For Teleport Code..
SendClientMessage(playerid, 0x00FF00AA, "You have teleported to YOU ARE PLACE NAME.");=This is Text.. You Can Change Colour The Text And The Text...
return 1;
}
return 1;
}
You just added it in, you never did it after you posted. You only added it when you read my post...
Reply
#9

Quote:
Originally Posted by Windows32
Посмотреть сообщение
[Image: images?q=tbn:ANd9GcQBt1MO1g2XsbhwY-nAn4u...Wa2YyaypUw]

hahahah ya just goto ******* and type "samp How to Script A Dm Teleport"
and open one just add a cmd SetPlayerPos(playerid, coords);
and then
SendClientMessage(playerid, 0xFFFFFFFF "HEHEHEHEHEHEHHEEHHEHEHEHEHEHEHEHEEHHEEH");
EASYYYYYYYYY
Reply
#10

What You Mean With Give Me Some Link's

I Am Always serious no stupid and no Troll...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)