Dynamic vehicles mixed up..
#1

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

add the job in the gm and your problem will be solved
Reply
#3

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

Any fix ?
Reply
#5

without script we can't do anything
Reply
#6

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

Are you loading the filterscript using the "filterscripts" line in the server.cfg file?
Reply
#8

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..
Reply
#9

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).
Reply
#10

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;

Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)