SA-MP Forums Archive
Vehicle script! - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicle script! (/showthread.php?tid=89147)



Vehicle script! - Cio-Rap - 31.07.2009

hello, i have a problem with this FS, in game when i enter in a police vehicle the server says "you ar not a bus driver" why?

Код:
//-----------  Include  ----------------------------------------------------
#include a_samp
#pragma tabsize 0
//-----------  Defineste ----------------------------------------------------
//------------------------------------------------------------------------------
public OnFilterScriptInit()
{
AddStaticVehicle(482,2473.5908,-1695.9692,13.6366,1.1619,86,86); // Dubitza
AddStaticVehicle(492,2492.3662,-1682.6084,13.1193,270.1324,86,86); // greenwood1
AddStaticVehicle(492,2509.6516,-1686.7972,13.3453,48.3376,86,86); // greenwood2
AddStaticVehicle(492,2517.0186,-1672.5112,13.7991,60.4192,86,86); // greenwood3
AddStaticVehicle(492,2486.8804,-1655.1805,13.1176,89.3097,86,86); // greenwood4
AddStaticVehicle(567,2505.7422,-1694.6127,13.4279,0.9201,86,86); // savana1
	return 1; }
//------------------------------------------------------------------------------
//==============================[THE END]=======================================



Re: Vehicle script! - MachineHead - 31.07.2009

This FS tells us nothing, it's probably in the gamemode.


Re: Vehicle script! - Cio-Rap - 31.07.2009

i put this file in Filterscript folder and a setup the server.cfg at line Filterscrpit, if i delete this line the gamemode works correctly


Re: Vehicle script! - MachineHead - 31.07.2009

Is this the only filterscript? Because this is just adding vehicles.


Re: Vehicle script! - Cio-Rap - 31.07.2009

yes


Re: Vehicle script! - MachineHead - 31.07.2009

Well, if you need the filterscript then add it into the gamemode. Just put the AddStaticVehicle lines under OnGameModeInit