Maps Compiling Method [ EASY ] -
SpikY_ - 08.11.2014
INTRODUCTION :
As we all know that its simple and easy but There are many Newbie who don't know how to Compile a Map So Here is my Tutorial For them.
I got many messages on forum / Skype about " How can i Compile Map ?". I can't tell Seperatly to everyone , That's why am Posting my thread for them.
CODES :
Код:
// Map Compiling Method
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("Your Map Name Should be Here. if you want!");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print("Your Map Name Should be Here. if you want!");
print("----------------------------------\n");
}
#endif
#pragma tabsize 0
public OnGameModeInit()
{
//Post Your CreatObjects(000,0,000,00); / CreateDynamicObject(000,0,000,00); Here.
return 1;
}
public OnPlayerConnect(playerid)
{
//iF You have any RemoveBuildingForPlayer(000,0,000,00); Then Post it Here
return 1;
}
GooD LucK
Re: Maps Compiling Method [ EASY ] -
Epic_Mickey - 08.11.2014
How is this a tutorial?
Re: Maps Compiling Method [ EASY ] -
SpikY_ - 08.11.2014
Then wht is it?
Re: Maps Compiling Method [ EASY ] -
zT KiNgKoNg - 08.11.2014
This isn't a tutorial in anyway.
1) You're not explaining anything to anyone who may need this
2) Its a 'Small code' release and nothing more
3) And a waste of time for anyone who clicked on this.
Re: Maps Compiling Method [ EASY ] -
Glossy42O - 08.11.2014
Do you know what tutorial even is ?
Re: Maps Compiling Method [ EASY ] -
biker122 - 08.11.2014
Not a tutorial at all.
You can add maps with a filterscript just like this, lol:
pawn Код:
#include <a_samp>
#include <streamer>
public OnFilterScriptInit()
{
Create(Dynamic)Object(...);
return 1;
}
Re: Maps Compiling Method [ EASY ] -
Abagail - 08.11.2014
Your code is also inaccurate, and plain out wouldn't work. You use both OnFilterScript... And OnGamemode... Which are two different things! I would say this was a copy and paste... but I don't even know where it'd be from.
Re: Maps Compiling Method [ EASY ] -
SpikY_ - 08.11.2014
Quote:
Originally Posted by Abagail
Your code is also inaccurate, and plain out wouldn't work. You use both OnFilterScript... And OnGamemode... Which are two different things! I would say this was a copy and paste... but I don't even know where it'd be from.
|
Good (y). There is no matter if we post it in gamemodeinit or in filterscriptinit .. map will compiled as it will always :/
Re: Maps Compiling Method [ EASY ] -
biker122 - 08.11.2014
It will get compiled.
But what you've added now is for gamemode. Not a filterscript.
So for testing a map, do you want them to change the mode?
Seriously, Learn what a tutorial is, how you can create them, in which way you can explain the script, etc..
Re: Maps Compiling Method [ EASY ] -
SpikY_ - 08.11.2014
Quote:
Originally Posted by biker122
It will get compiled.
But what you've added now is for gamemode. Not a filterscript.
So for testing a map, do you want them to change the mode?
Seriously, Learn what a tutorial is, how you can create them, in which way you can explain the script, etc..
|
Sorry, by mistaken i post it .. now onwards i will never make any post in which people will get help .. btw tell me where should i need to post this thread