[FilterScript] Christ Teleports!
#1

Teleports 1.0.0


Intro:

Hello everyone,
I saw system with teleports scripting like that:
PHP код:
if(!strcmp(cmdtext,"/Example",true))
{
    
SetPlayerPos(playerid,X,Y,Z);
    
SetPlayerFacingAngle(playerid,A);
    
SendClientMessage(playerid,color,text);
    return 
1;

My friend taught me how add teleports to your gamemode in one line!
Today I will show you the filterscript does that.

Download's:

- Pastebin: http://pastebin.com/4qwqP9z2
- Solidfiles: http://www.solidfiles.com/d/a8a0072366/

How to add new Teleport?:

To add teleport add new line to the arry like this:
PHP код:
{"/TelepprtName",InVehicle(true/false),X,Y,Z,A,V_X,V_Y,V_Z,V_A,Interiorid,"Message"
- THE END! -
Reply
#2

Pretty cool +6 reps
Reply
#3

Usefull, +2 reps
Reply
#4

Thanks guys!
Reply
#5

InVehicle(true/false) meaning if you need to teleport, you need to be in a car or does it teleport you WITH the car (if you are in one)?
Anyways, this is good work.
Reply
#6

If you want teleport just onfoot you write false, and if you want teleport with vehicle & foot write true.
Reply
#7

Teleports 1.1.0


Hello guys,
I'm add to filterscript teleports dialog, you can click the dialog and teleport to loaction!

- Pastbin: http://pastebin.com/vfDQjJJu
- Solidfiles: http://www.solidfiles.com/d/e680aa95ed/

You can edit the dialogid with this line:
PHP код:
#define DIALOG_TELEPORTS (078) 
enjoy!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)