Filterscript static vehs+train
#1

Hi, im wana make static vehs in filterscript but where to add them?It dont appiers in server!
Код:
#include <a_samp>
#define COLOR_YELLOW2 0xF5DEB3AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_PURPLE 0xC2A2DAFF
#if defined FILTERSCRIPT

public OnPlayerSpawn(playerid)
{
	SendClientMessage(playerid,COLOR_PURPLE,"You can start train job at Unity Station!");
	return 1;
}

public OnFilterScriptInit()
{
	AddStaticVehicle(538,1690.6956,-1953.7982,13.5469,90.7252,1,1);
	AddStaticVehicle(537,1766.6824,-1957.2683,13.5469,269.2007,1,1);
	return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/mycommand", cmdtext, true, 10) == 0)
	{
		// Do something here
		return 1;
	}
	return 0;
}
public OnFilterScriptExit()
{
	return 1;
}
#endif

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

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

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	return 1;
}
And do i need to add train like of parts(wagons)?? Becouse i want to make train set in Unity Station!
Reply


Messages In This Thread
Filterscript static vehs+train - by DJRebis - 11.07.2013, 11:46
Re: Filterscript static vehs+train - by DaRk_RaiN - 11.07.2013, 12:39
Re: Filterscript static vehs+train - by DJRebis - 11.07.2013, 12:40

Forum Jump:


Users browsing this thread: 1 Guest(s)