[Help] Teleports
#1

Can someone please tell me how to make teleports with video/pic ?

P.S : Don't say , use ******/*******.

Thankz in advance

Sorry i am newbie
Reply
#2

Well, first of all, go in game on a local server, then /save where you want the teleport to be. It should look something like this:
PHP код:
AddPlayerClass(116,207.5703,-111.0274,1005.1328,351.5634,0,0,0,0,0,0); // 
Now, copy the x, y, and z co ordinates (in this, 207.5703,-111.0274,1005.132. Then, make your command for teleporting e.g. /lsa, then add:
PHP код:
SetPlayerPos(playerid,X_POSITION_HERE,X_POSITION_HERE,Z_POSITION_HERE); 
If you are using zcmd, it should look like this:
PHP код:
CMD:lsa(playerid,params[])
{
     
SetPlayerPos(playerid,207.5703,-111.0274,1005.1328);
     return 
1;

PS: sorry about no pic/video
Reply
#3

Quote:
Originally Posted by bensmart469
Посмотреть сообщение
Well, first of all, go in game on a local server, then /save where you want the teleport to be. It should look something like this:
PHP код:
AddPlayerClass(116,207.5703,-111.0274,1005.1328,351.5634,0,0,0,0,0,0); // 
Now, copy the x, y, and z co ordinates (in this, 207.5703,-111.0274,1005.132. Then, make your command for teleporting e.g. /lsa, then add:
PHP код:
SetPlayerPos(playerid,X_POSITION_HERE,X_POSITION_HERE,Z_POSITION_HERE); 
If you are using zcmd, it should look like this:
PHP код:
CMD:lsa(playerid,params[])
{
     
SetPlayerPos(playerid,207.5703,-111.0274,1005.1328);
     return 
1;

PS: sorry about no pic/video
When i make CMD : pier .... [etc]
It give 1 warning + Cmd don't work In-Game
Reply
#4

Do you have ZCMD include?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)