[FilterScript] [FS] Tramplins Spawn
#26

Hi, i have this scripts running on my server but i have a question:

Code:
#include <a_samp>

forward DelObj(playerid,Obj);
public DelObj(playerid,Obj)DestroyPlayerObject(playerid,Obj);

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if ((newkeys & KEY_FIRE)) {
		if (IsPlayerInAnyVehicle(playerid)) {
			new Float:x,Float:y,Float:z;
			new Float:x2,Float:y2,Float:az;
			GetPlayerPos(playerid,x,y,z);

			GetVehicleZAngle(GetPlayerVehicleID(playerid), az);
			x2 = x + (10 * floatsin(-az+5, degrees));
			y2 = y + (10 * floatcos(-az+5, degrees));
			new Obj=CreatePlayerObject(playerid,1245,x2,y2,z,0,0,az-90);
			SetTimerEx("DelObj",1500,0,"d d",playerid,Obj);
		}
	}
}

public OnFilterScriptInit()
{
	print("
----------------------------------");
	print(" De[M]oN\'s [FS] Tramplins Spawn");
	print("----------------------------------
");
	return 1;
}
How can i place the ramp a little bit further away?
i use now id 1655 becose its bigger. and i set the timing to 3000.
Reply


Messages In This Thread
[FS] Tramplins Spawn - by De[M]oN - 27.06.2007, 03:57
Re: [FS] Tramplins Spawn - by KrifOk - 27.06.2007, 05:24
Re: [FS] Tramplins Spawn - by De[M]oN - 27.06.2007, 07:04
Re: [FS] Tramplins Spawn - by $$$PiMp - 27.06.2007, 07:50
Re: [FS] Tramplins Spawn - by KrifOk - 27.06.2007, 08:06
Re: [FS] Tramplins Spawn - by ~Hybrid~ - 27.06.2007, 08:55
Re: [FS] Tramplins Spawn - by De[M]oN - 27.06.2007, 09:11
Re: [FS] Tramplins Spawn - by killer57 - 27.06.2007, 09:51
Re: [FS] Tramplins Spawn - by pArtizAn - 27.06.2007, 11:55
Re: [FS] Tramplins Spawn - by traxxus - 28.06.2007, 17:12
Re: [FS] Tramplins Spawn - by Warriors_Tornado - 29.06.2007, 10:15
Re: [FS] Tramplins Spawn - by Positive - 29.06.2007, 13:44
Re: [FS] Tramplins Spawn - by De[M]oN - 02.07.2007, 10:19
Re: [FS] Tramplins Spawn - by Dealman1 - 05.07.2007, 12:05
Re: [FS] Tramplins Spawn - by Warriors_Tornado - 05.07.2007, 14:08
Re: [FS] Tramplins Spawn - by courage - 05.07.2007, 15:18
Re: [FS] Tramplins Spawn - by traxxus - 06.07.2007, 07:02
Re: [FS] Tramplins Spawn - by Warriors_Tornado - 06.07.2007, 09:38
Re: [FS] Tramplins Spawn - by Dealman1 - 06.07.2007, 10:38
Re: [FS] Tramplins Spawn - by Warriors_Tornado - 06.07.2007, 12:08
Re: [FS] Tramplins Spawn - by Dealman1 - 06.07.2007, 13:33
Re: [FS] Tramplins Spawn - by kevinsoftware - 11.07.2007, 05:57
Re: [FS] Tramplins Spawn - by Dainyzxz - 13.07.2007, 05:12
Re: [FS] Tramplins Spawn - by 94DTC - 23.07.2007, 14:20
Re: [FS] Tramplins Spawn - by kevinsoftware - 23.07.2007, 16:58
Re: [FS] Tramplins Spawn - by Convirion - 30.07.2007, 15:56
Re: [FS] Tramplins Spawn - by traxxus - 30.07.2007, 19:44
Re: [FS] Tramplins Spawn - by kdr533 - 20.01.2008, 20:24
Re: [FS] Tramplins Spawn - by Nokia - 14.09.2008, 14:49
Re: [FS] Tramplins Spawn - by Melody - 22.02.2009, 16:00

Forum Jump:


Users browsing this thread: 4 Guest(s)