Help With Making Maps Into FilterScripts - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help With Making Maps Into FilterScripts (
/showthread.php?tid=322968)
Help With Making Maps Into FilterScripts -
[Cali]ChrOnic_T - 04.03.2012
Okay I Know the convertFFS.com to change .map into that CreateObject Shit But whats the right Format to Make it and Fs For example Look:
Is it OnFilterScriptInIt?
Код:
#include <a_samp>
#define FilterScript
public OnFilterScriptInit() // Or is it OnGameModeInIt
)
CreateObject(18449,6353.79980469,719.00000000,-28.60000038,0.00000000,0.00000000,0.00000000); //object(cs_roadbridge01) (1)
Other Kind of Format
Код:
////////////////////////////////////////////////////////////////////////////////
#include <a_samp>
////////////////////////////////////////////////////////////////////////////////
#pragma tabsize 0
////////////////////////////////////////////////////////////////////////////////
#define COLOR_BLUE 0x0000FF00
////////////////////////////////////////////////////////////////////////////////
public OnGameModeInit()
{
CreateObject(18450, 370.6845703125, -1694.720703125, 15.628363609314, 0, 0, 89.434204101563);
So what Im asking for Is Like whats The right format to Make The Map into a FS.
Please Help.
Re: Help With Making Maps Into FilterScripts -
Mark™ - 04.03.2012
All map code i.e objects, vehicles, pickups would go under public OnFilterScriptInit callback, if you wish create a map into filterscript.
Re: Help With Making Maps Into FilterScripts -
JJB562 - 04.03.2012
The first format is fine, and it is OnFilterScriptInIt, not OnGameModeInIt.
Re: Help With Making Maps Into FilterScripts -
[Cali]ChrOnic_T - 04.03.2012
thank you so much