Dynamic vehicles mixed up.. -
remyguys - 28.11.2011
When i use the Carlito Roleplay gm,
And with that one i want to add a job FS for example pizzajob.
The cars mix with each other.
The FS takes up ID 1 to 4, and all the GM cars get moved up 1 spot which ruins it all.
How can i prevent that from happening?
Thx in Advance
Re: Dynamic vehicles mixed up.. -
Tigerkiller - 28.11.2011
add the job in the gm and your problem will be solved
Re: Dynamic vehicles mixed up.. -
remyguys - 28.11.2011
Quote:
Originally Posted by Tigerkiller
add the job in the gm and your problem will be solved
|
Doesnt fix it..
Its still starts at ID 1(the pizza bikes)
They just dont follow up behind the rest..
Re: Dynamic vehicles mixed up.. -
remyguys - 28.11.2011
Any fix

?
Re: Dynamic vehicles mixed up.. -
System64 - 28.11.2011
without script we can't do anything
Re: Dynamic vehicles mixed up.. -
remyguys - 28.11.2011
This is the main gm,
http://forum.sa-mp.com/showthread.ph...hlight=carlito
And its any Job (example,
http://forum.sa-mp.com/showthread.ph...ighlight=pizza)
https://sampforum.blast.hk/showthread.php?pid=1180599#pid1180599
Hope you know a way to fix it.
Re: Dynamic vehicles mixed up.. -
Ash. - 28.11.2011
Are you loading the filterscript using the "filterscripts" line in the server.cfg file?
Re: Dynamic vehicles mixed up.. -
remyguys - 28.11.2011
Yes.
I also tried to putting the Pizzajob in the GM itself but it still counts as ID 1 till 4, when it needs to be 141 to 144..
Re: Dynamic vehicles mixed up.. -
Ash. - 28.11.2011
Instead of loading the filtescript through server.cfg; at the very end of OnGameModeInit (the last thing before the closing parenthesis), add
pawn Код:
SendRconCommand("loadfs [fsname]");
. When you've done that, remove the filterscript name from the "filterscripts" line in server.cfg.
You may also want to add
pawn Код:
SendRconCommand("unloadfs [fsname]");
to OnGameModeExit.
This way, the gamemode is 'initiated' before you load the filterscript (as filterscripts are loaded before gamemodes when using server.cfg - which in my opinion should be changed).
Re: Dynamic vehicles mixed up.. -
remyguys - 28.11.2011
It sounds sooo logical, but when i do that i get in the rcon console, load failed.
Also tried .amx and .pwn behind it

maybe i placed it wrong?
PHP код:
SendRconCommand("loadfs [hotdog]");
return 1;
}
public OnGameModeExit()
{
SendRconCommand("unloadfs [hotdog]");
return 1;
}