Objects - 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)
+--- Thread: Objects (
/showthread.php?tid=285255)
Objects -
viosteaua98 - 23.09.2011
Hello i have a question
I want make some objects on my temporary server
So i downloaded MTA (Multi Theft Auto)
Then i placed objects in san andreas
Then i converted it CreateDynamicObjects..................
But where should i put in pawno?
I am beginner scripter
Re: Objects -
Jeffry - 23.09.2011
You have to place
at top of your script.
The Objects have to be placed under OnFilterScriptInit or OnGameModeInit (Depending on what you use):
pawn Код:
public OnGameModeInit()
{
CreateDynamicObject...
return 1;
}
or:
pawn Код:
public OnFilterScriptInit()
{
CreateDynamicObject...
return 1;
}
Then you have to call the FS or GM in your server.cfg under gamemodes or filterscripts.
Jeffry
Re: Objects -
viosteaua98 - 23.09.2011
dyamicobject?
Re: Objects -
Jeffry - 23.09.2011
Quote:
Originally Posted by viosteaua98
dyamicobject?
|
What? We can't help you like this. -_-