SA-MP Forums Archive
[FilterScript] Click Teleport - 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] Click Teleport (/showthread.php?tid=599727)



Click Teleport - K0P - 29.01.2016


This is a simple filterscript which allows players to teleport to the other players by clicking their name from the scoreboard (TAB)



Commands
(/cteleport) - toggle click teleport on/off
(/mcteleport) - enable/disable players to teleport to you





Credits
a_samp
zcmd



Bugs
N/A
If you find any,please tell me





Re: Click Teleport - K0P - 29.01.2016

Quote:
Originally Posted by [Bios]Marcel
View Post
remove the #define Filterscript an the unused Publics...

and also you cantt just destroy vehicles, just tell the player to leave the vehicle ...
1.As im new,i wana know that does the unused defines effect something?
2.Alright,Done


Re: Click Teleport - xTURBOx - 29.01.2016

simple & yet nice


Re: Click Teleport - K0P - 29.01.2016

Quote:
Originally Posted by xTURBOx
View Post
simple & yet nice
Thanks


Re: Click Teleport - Amunra - 30.01.2016

Good For Freeroam Server !


Re: Click Teleport - Gammix - 30.01.2016

Quote:
Originally Posted by K0P
View Post
1.As im new,i wana know that does the unused defines effect something?
Doesn't effects anything if the library uses it correctly (that's none of your concern). It actually tells the libraries that the script is a FILTERSCRIPT and not a GAMEMODE, because you have to perform different functions on different script inits.

Also you have defined it at the wrong position, always declare it at the top (and only in a filterscript);
pawn Code:
#define FILTERSCRIPT //Here we defined the filterscript

#include <a_samp> //Here we include the a_samp.inc
#include <ZCMD> //Here we include the zcmd.inc



Re: Click Teleport - K0P - 30.01.2016

Quote:
Originally Posted by Gammix
View Post
Doesn't effects anything if the library uses it correctly (that's none of your concern). It actually tells the libraries that the script is a FILTERSCRIPT and not a GAMEMODE, because you have to perform different functions on different script inits.
Thanks for the info

Quote:
Originally Posted by Gammix
View Post
Also you have defined it at the wrong position, always declare it at the top (and only in a filterscript);
pawn Code:
#define FILTERSCRIPT //Here we defined the filterscript
Ill do it next time

Quote:
Originally Posted by Amunra
View Post
Good For Freeroam Server !
Thanks!


Re: Click Teleport - BiosMarcel - 30.01.2016

Quote:
Originally Posted by Gammix
View Post
Doesn't effects anything if the library uses it correctly (that's none of your concern). It actually tells the libraries that the script is a FILTERSCRIPT and not a GAMEMODE, because you have to perform different functions on different script inits.

Also you have defined it at the wrong position, always declare it at the top (and only in a filterscript);
pawn Code:
#define FILTERSCRIPT //Here we defined the filterscript

#include <a_samp> //Here we include the a_samp.inc
#include <ZCMD> //Here we include the zcmd.inc
As far as i know #define FILTERSCRIPT isn't neccessary, everything works fine without