[FilterScript] LS_Teles
#1

LS teles
Hello,I am new to scripting in Pawno :P
And i have made THIS filterscript that countaines alot of Commands to teleport around LS (Los Santos)
I will soon make SF_Teles and LV_Teles

Tell me what you think about it.
Teleports
Код:
	if (strcmp("/BizTower", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 1754.0000, -1308.0000, 14.5000);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to the Biz Tower!");
		return 1;
	}
	if (strcmp("/Startower", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 1546.0000, -1319.0000, 19.1875);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to Star Tower!");
		return 1;
	}
	if (strcmp("/GroveStreet", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 2464.0000, 2464.0000, 14.5000);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to Grove Street!");
		return 1;
	}
	if (strcmp("/PershingSquare", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 1500.0000, -1658.0000, 14.5000);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to the Pershing Square");
		return 1;
	}
	if (strcmp("/Market", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 812.0000, -1358.0000, 26.2188);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to Market!");
		return 1;
	}
	if (strcmp("/Airport", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 1677.0000, -2281.0000, 12.1563);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to The Airport!");
		return 1;
	}
	if (strcmp("/Stadium", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 2662.0000, -1692.0000, 9.8125);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to The Stadium!");
		return 1;
	}
	if (strcmp("/EastLS", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 2627.0000, -1338.0000, 61.3750);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to East Los Santos!");
		return 1;
	}
	if (strcmp("/Docks", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 2190.0000, -2250.0000, 14.5000);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to Ocean Docks!");
		return 1;
	}
	if (strcmp("/Hotel", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 2215.0000, -1158.0000, 26.2188);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to Jefferson Hotel!");
		return 1;
	}
	if (strcmp("/GlenPark", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 1964.0000, -1200.0000, 26.2188);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to Glen Park!");
		return 1;
	}
	if (strcmp("/CountyHospital", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 2008.0000, -1438.0000, 14.5000);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to County Hospital!");
		return 1;
	}
	if (strcmp("/AllSaintsHospital", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 1181.0000, -1335.0000, 14.5000);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to All Saints Hospital!");
		return 1;
	}
	if (strcmp("/UnityStation", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 1815.0000, -1896.0000, 14.5000);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to Unity Station!");
		return 1;
	}
	if (strcmp("/VeronaBeach", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 454.0000, -1881.0000, 2.7813);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to Verona Beach!");
		return 1;
	}
	if (strcmp("/Observatory", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 1192.0000, -2038.0000, 70.7500);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to The Observatory!");
		return 1;
	}
	if (strcmp("/Ammunation", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 1346.0000, -1319.0000, 16.8438);
		SendClientMessage(playerid,0xAA3333AA,"You have been sent to The Ammunation!");
		return 1;
	}
	return 0;
}
How to install
Simple.
Just download the 2 files i have atached to this post.(you can find them at the bottom of the topic =D)
Then go to Your Server/Filterscripts and then put those 2 files in.
Then open server.cfg
and find ''Filterscripts''
in it.
then add
Код:
LSteles
=D
done.
If you have any questions.ask in the Reply's
(Sorry for my bad english,i am Georgian =D)LSteles.pwn

LSteles.amx
Reply
#2

nice small work!
Reply
#3

Nice for beginers
Reply
#4

Simple, but very good.
Reply
#5

Thanks =D
Reply
#6

Wow This is so pro not for beginners
Reply
#7

good for beginners nice work
Reply
#8

thanks guys for these reply's.
i will be working on LV_teles and SF_teles soon...
Reply
#9

thanks i was searching for some teleport script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)