SA-MP Forums Archive
[FilterScript] Christ Teleports! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Christ Teleports! (/showthread.php?tid=410332)



Christ Teleports! - Christ - 25.01.2013

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! -


Re: Christ Teleports! - XtremeR - 25.01.2013

Pretty cool +6 reps


Re: Christ Teleports! - DiGiTaL_AnGeL - 25.01.2013

Usefull, +2 reps


Re: Christ Teleports! - Christ - 25.01.2013

Thanks guys!


Re: Christ Teleports! - RajatPawar - 25.01.2013

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.


Re: Christ Teleports! - Christ - 25.01.2013

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


Re: Christ Teleports! - Christ - 25.01.2013

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!