26.04.2013, 16:59
What is this?
Basically all it is , is to save some space in your Gamemode so it is not clogged up with
How?
Well here we go.
First Open Notepad.
Then Goto Pawno>Include Save it as Objects.inc
Now at the top of the notepad paste this
Then goto your gamemode and paste this
So when you give the command it forwards it
And under
Paste
This will load all the server objects how does it work you might be wondering.
We called it
LoadSeverObjects it will forward as its a command given.
Okay now go back to the notepad and paste all the dynamic objects or whatever cars etc..
and under all that paste this
So when the Gamemode loads basically it will load all the objects and this will save lines in your Gamemode so you won't be having to scroll through CreateDynamicObject!
Basically all it is , is to save some space in your Gamemode so it is not clogged up with
pawn Код:
CreateDynamicObject
Well here we go.
First Open Notepad.
Then Goto Pawno>Include Save it as Objects.inc
Now at the top of the notepad paste this
pawn Код:
public LoadServerObjects()
{
pawn Код:
forward LoadServerObjects();
And under
pawn Код:
public OnGameModeInit()
{
pawn Код:
LoadServerObjects();
We called it
pawn Код:
public LoadServerObjects();
Okay now go back to the notepad and paste all the dynamic objects or whatever cars etc..
and under all that paste this
pawn Код:
return true;
}