How to make Teleport Command -
DeadLy™ - 17.08.2012
How to create a teleport command
Introduction
This is a simple tutorial to create a teleport command.
Many of them think that this is a noobish tutorial and every one knows.
But to those guys i say GTFO because there are many other guys who dont know and some creates mta works but dont know this stuff.
For mappers,this is very important because if they need to release their map on YGTDM and if owners want to know where is the place where the mapper had created objects,a teleport command could solve.
Requirements
Zcmd include[For making more easier].
Zcmd:
http://www.solidfiles.com/d/879d1213...6d464e90c8cf9/
Tutorial
* Connect to server.
* Go to place where you need to be teleported.
* Type /save.
Now close samp.
* Go to My Documents->Gta Sanandreas Userfiles->SAMP->open savedpositions.txt
Then you can see a new line starting with AddPlayerClass.
When you use /save,you get skin,X pos,Y pos,Z pos.
AddPlayerClass is like this:
Код:
AddPlayerClass(skinid,X Pos,Y pos,Z pos,0,0,0,0);
Now you must copy the X pos,Y pos and Z pos.
Then open pawno.
Click new and clear all text.
Then include a_samp and zcmd,Like this:
Before including,zcmd must be on pawno->include folder.
Код:
#include <a_samp>
#include <zcmd>
Now lets create cmd.
Below includes,you must add this:
Код:
CMD:mytele(playerid,params)
{
#pragma unused params
SetPlayerPos(playerid,X pos,Y pos,Z pos);
return 1;
}
I dont have any coordinates now,so i gave X pos Y pos Z pos.
Any one please send me any coordinates,so i will create an example also.
If you have difficulties in creating this,PM or post.
NoTE:Please REP! Me if it helps you!
Re : How to make Teleport Command -
darkazi - 17.08.2012
Re: How to make Teleport Command -
JaKe Elite - 17.08.2012
Oh and one note.
You don't need to use #pragma unused params.
and don't ask for rep. Now enough leaving this page now.
Re: How to make Teleport Command -
Lordzy - 19.08.2012
-removed-
Re: How to make Teleport Command -
im - 19.08.2012
Another tutorial about creating a fucking command?
Stop posting tutorials that aren't usefull to anyone..
10/10.
Re: How to make Teleport Command -
Devilxz97 - 19.08.2012
Another S***** Unusefull Tutorial.
Re: Re : How to make Teleport Command -
JohnnyIV - 06.06.2013
Quote:
Originally Posted by darkazi
|
+rep for your nC image
Re: Re : How to make Teleport Command -
badwolf2105 - 07.06.2013
Quote:
Originally Posted by darkazi
|
I rep+ for this
Re: Re : How to make Teleport Command -
CoaPsyFactor - 19.01.2015
Quote:
Originally Posted by darkazi
|
sign
Re: Re : How to make Teleport Command -
zT KiNgKoNg - 19.01.2015
Quote:
Originally Posted by darkazi
|
Some people just waste my time, I really should have continued to create my Panel.