OnVehicleMod, Filterscript
#1

OnVehicleMod doesn't work in filterscript

Gamemode:
Код:
#include <a_samp>

main()
{
}

public OnGameModeInit()
{
	AddVehicleComponent(AddStaticVehicle(411, 0.0, 0.0, 10.0, 0.0, 50, 254), 1010);
	return 1;
}
FS:
Код:
#include <a_samp>

public OnVehicleMod(playerid, vehicleid, componentid)
{
	print("lol");
	return 1;
}
Console:
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3a R4, ©2005-2009 SA-MP Team

[20:31:26] 
[20:31:26] Server Plugins
[20:31:26] --------------
[20:31:26] Loaded 0 plugins.

[20:31:26] 
[20:31:26] Filter Scripts
[20:31:26] ---------------
[20:31:26]  Loading filter script 'FS.amx'...
[20:31:26]  Loaded 1 filter scripts.

[20:31:26] Number of vehicle models: 1
I tested this with adding the component in OnPlayerConnect, but console shows the same. Does Somebody have an idea, how to fix it?
Reply


Messages In This Thread
OnVehicleMod, Filterscript - by ziomal432 - 22.01.2010, 18:32
Re: OnVehicleMod, Filterscript - by mansonh - 22.01.2010, 21:40
Re: OnVehicleMod, Filterscript - by mamorunl - 22.01.2010, 21:43
Re: OnVehicleMod, Filterscript - by ziomal432 - 23.01.2010, 14:23
Re: OnVehicleMod, Filterscript - by mansonh - 23.01.2010, 22:07
Re: OnVehicleMod, Filterscript - by ziomal432 - 24.01.2010, 08:02
Re: OnVehicleMod, Filterscript - by mamorunl - 24.01.2010, 22:15

Forum Jump:


Users browsing this thread: 7 Guest(s)