SA-MP Forums Archive
LVC teleport filterscript - 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: LVC teleport filterscript (/showthread.php?tid=52883)



LVC teleport filterscript - veveris - 11.10.2008

LVC teleport filterscript My server IP:10.71.241.33

I am create a teleport filterscript and four deathmatches

Commands:
/jizzi
/cardealer
/motel
/cj
/liberty
/maddogs
/rc
/ammo
/rider
/bloodring
/stadium
/bs
/burn
/deathmatch
/deathmatch2
/deathmatch3
/deathmatch4

Created by Dangerfiled_LVC
Powered by CakePawn



Copy (LVC.amx,LVC.pwn) to filterscript folder.

enter server.cfg and in filterscriptvline write LVC

turn on server
test commands if some commands don't working please don't kill me!

If all working (or not all) play

Teleport LVC filterscript commands can search no tele.txt

2008. 11. otcober.

Download:

http://rapidshare.com/files/152945739/LVC.rar.html


Re: LVC teleport filterscript - error55o - 22.10.2008

any pictures?


Re: LVC teleport filterscript - miokie - 22.10.2008

Quote:
Originally Posted by error55o
any pictures?
Why would you need pictures? Pictures of what?


Re: LVC teleport filterscript - error55o - 22.10.2008

ok, so what does this do? it's not very, erm, discrptive


Re: LVC teleport filterscript - error55o - 22.10.2008

0_o ooh
Код:
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(65) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(66) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(67) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(68) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(69) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(70) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(71) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(72) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(73) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(74) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(75) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(76) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(77) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(78) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(79) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(80) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(81) : warning 206: redundant test: constant expression is non-zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(87) : warning 217: loose indentation
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(87) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(87) : error 004: function "OnPlayerInfoChange" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(91) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(91) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(91) : error 004: function "OnPlayerInteriorChange" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(95) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(95) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(95) : error 004: function "OnPlayerEnterVehicle" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(99) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(99) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(99) : error 004: function "OnPlayerExitVehicle" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(103) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(103) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(103) : error 004: function "OnPlayerStateChange" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(107) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(107) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(107) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(111) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(111) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(111) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(115) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(115) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(115) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(119) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(119) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(119) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(123) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(123) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(123) : error 004: function "OnRconCommand" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(127) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(127) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(127) : error 004: function "OnObjectMoved" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(131) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(131) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(131) : error 004: function "OnPlayerObjectMoved" is not implemented
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(135) : warning 225: unreachable code
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(135) : error 029: invalid expression, assumed zero
D:\GTA San Andreas\samp\filterscripts\LVC.pwn(135) : error 004: function "OnPlayerPickUpPickup" is not implemented

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.



Re: LVC teleport filterscript - error55o - 27.10.2008

I fixed it but not fully, rest is up to you
Код:
#include <a_samp>

main()
{
	//Message shown in server window
	print("\n----------------------------------"); 
	print(" LVC lol had to fix0r this");
	print("----------------------------------\n");
}


public OnFilterScriptInit()
{
	SetGameModeText("LVC lol had to fix0r this"); //Mode name in server browser
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	return 1;
}

public OnPlayerConnect(playerid)
{
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	return 1;
}

public OnPlayerSpawn(playerid)
{
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	return 1;
}

public OnVehicleSpawn(vehicleid) {
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerPrivmsg(playerid, recieverid, text[])
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{

	if (strcmp("/jizzi", cmdtext, true, 3) ==0)
	{
		SetPlayerPos(playerid, -2637.69, 1404.24, 906.46);
		return 1;
	}
	if (strcmp("/cardealer", cmdtext, true, 0) ==0)
	{
		SetPlayerPos(playerid, -1954.85, 292.82, 35.47);
		return 1;
	}
	if (strcmp("/motel", cmdtext, true, 15) == 0)
	{
		SetPlayerPos(playerid, 2220.26, -1148.01, 1025.8);
		return 1;
	}
	if (strcmp("/cjs", cmdtext, true, 3) ==0)
	{
		SetPlayerPos(playerid, 2496.65, -1696.55, 1014.74);
		return 1;
	}
	if (strcmp("/liberty", cmdtext, true, 1) ==0)
	{
		SetPlayerPos(playerid, -750.8, 491, 1371.7);
		return 1;
	}
	if (strcmp("/maddogs", cmdtext, true, 5) ==0)
	{
		SetPlayerPos(playerid, 1299.14, -794.77, 1084);
		return 1;
	}
	if (strcmp("/rcs", cmdtext, true, 6) ==0)
	{
		SetPlayerPos(playerid, -2240, 131, 1035.4);
		return 1;
	}
	if (strcmp("/ammo", cmdtext, true, 7) ==0)
	{
		SetPlayerPos(playerid, 314.820984, -141.431992, 999.661987);
		return 1;
	}
	if (strcmp("/rider", cmdtext, true, 2) ==0)
	{
		SetPlayerPos(playerid, 2451.77, -1699.8, 1013.51);
		return 1;
	}
	if (strcmp("/bloodring", cmdtext, true, 15) ==0)
	{
		SetPlayerPos(playerid, -1394.2, 987.62, 1023.96);
		return 1;
	}
	if (strcmp("/stadium", cmdtext, true, 14) ==0)
	{
		SetPlayerPos(playerid, -1410.72, 1591.16, 1052.53);
		return 1;
	}
	if (strcmp("/bs", cmdtext, true, 2) ==0)
	{
		SetPlayerPos(playerid, 2567.52, -1294.59, 1063.25);
		return 1;
	}
	if (strcmp("/burn", cmdtext, true, 5) ==0)
	{
		SetPlayerPos(playerid, 2338.32, -1180.61, 1027.98);
		return 1;
	}
	if (strcmp("/deathmatch", cmdtext, true, 5) ==0)
	{
		SetPlayerPos(playerid, -2029.88, -115.44, 1035.17);
		return 1;
	}
	if (strcmp("/deathmatch2", cmdtext, true, 10) ==0)
	{
		SetPlayerPos(playerid, -1079.99, 1061.58, 1343.04);
		return 1;
	}
	if (strcmp("/deathmatch3", cmdtext, true, 18) ==0)
	{
		SetPlayerPos(playerid, 1726.18, -1641, 20.23);
		return 1;
	}
	if (strcmp("/deathmatch4", cmdtext, true, 0) ==0)
	{
		SetPlayerPos(playerid, 1726.18, -1641, 20.23);
		return 1;
	}
	return 0;
}

public OnPlayerInfoChange(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnVehicleRespray(vehicleid, color1, color2)
{
	return 1;
}

public OnVehicleMod(vehicleid, componentid)
{
	return 1;
}
all you gotta do is add the interior change function
Код:
tip
Код:
https://sampwiki.blast.hk/wiki/SetPlayerInterior



Re: LVC teleport filterscript - veveris - 30.11.2008

Sorry but, this not tested this is created with Windows Vista Sorry!!
Thanks to fix this bugs!!!
I making a gamemode with and this is working and tested wait a some days to...

Thanks i now test my created mods!!!!


Re: LVC teleport filterscript - ICECOLDKILLAK8 - 30.11.2008

Quote:
Originally Posted by veveris
LVC teleport filterscript My server IP:10.71.241.33
So basicly this was just to promote your server.


Re: LVC teleport filterscript - susant_sakib - 28.10.2011

post some pic!