SA-MP Forums Archive
Gamemode to Filterscript - 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: Gamemode to Filterscript (/showthread.php?tid=193579)



Gamemode to Filterscript - Mehtab - 26.11.2010

how to convert gamemode to filterscript


Re: Gamemode to Filterscript - jonnyboy - 26.11.2010

its not easy and boring.


Re: Gamemode to Filterscript - Mehtab - 26.11.2010

but do you know how to convert


Re: Gamemode to Filterscript - Hiddos - 26.11.2010

Well why would you want to place your GM in a filterscript in the first place. Static vehicles, classes and other functions are only available at OnGameModeInit an NOWHERE else, not even in OnFilterScriptInit


Re: Gamemode to Filterscript - Mehtab - 26.11.2010

so what will i do to convert it. i am trying to convert only the strcmp codes


Re: Gamemode to Filterscript - WillyP - 26.11.2010

Quote:
Originally Posted by Mehtab
Посмотреть сообщение
so what will i do to convert it. i am trying to convert only the strcmp codes
Ctrl+c and Ctrl+v is your friend.


Re: Gamemode to Filterscript - Mehtab - 26.11.2010

i am trying to make it seperate from gamemode


Re: Gamemode to Filterscript - jonnyboy - 26.11.2010

Quote:
Originally Posted by Mehtab
Посмотреть сообщение
so what will i do to convert it. i am trying to convert only the strcmp codes
YOU CAN'T! READ WHAT HIDDOS WROTE!
Quote:
Originally Posted by Hiddos
Посмотреть сообщение
Well why would you want to place your GM in a filterscript in the first place. Static vehicles, classes and other functions are only available at OnGameModeInit an NOWHERE else, not even in OnFilterScriptInit
noobs are always so dumb


Re: Gamemode to Filterscript - DRIFT_HUNTER - 26.11.2010

pawn Код:
public OnGameModeInit
to
public OnFilteScriptInit

and

public OnGameModeExit
to
public OnFilterScriptExit
And remove

main()
{
.....
}
Thats a start after that maybe it will work perfect or maybe not(if not then you must fix bug's)


Re: Gamemode to Filterscript - The_Moddler - 26.11.2010

Your post doesn't have too much sence.. lol


Re: Gamemode to Filterscript - WillyP - 26.11.2010

Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
Your post doesn't have too much sence.. lol
It makes sence to me.. :S


Re: Gamemode to Filterscript - The_Moddler - 26.11.2010

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
It makes sence to me.. :S
Makes sence trying to put a GM on a FS? lol..