Vehicle script!
#1

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]=======================================
Reply
#2

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

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
Reply
#4

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

yes
Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)