How to add objects in the script. - 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: How to add objects in the script. (
/showthread.php?tid=85155)
How to add objects in the script. -
xXiamCr4zyXx - 05.07.2009
How do you add objects in the script .. its actually a Stunt and DM map.
Well I wont post the
CreateObject(blahblahblahblahblahblahblahvblabh);
So can anyone halp me *
Re: How to add objects in the script. -
refshal - 05.07.2009
Do you mean that you don't know how to add your objects in your script?
Re: How to add objects in the script. -
xXiamCr4zyXx - 05.07.2009
That's right. I made a map in MTA Race and converted in Pawno but I don't know where to add the text or whatever ..
Re: How to add objects in the script. -
refshal - 05.07.2009
pawn Код:
#include a_samp
public OnFilterScriptInit()
// Your objects here
return 1;
}
EDIT: If you want to add them in your gamemode, then do it like this:
pawn Код:
#include a_samp
public OnGameModeInit()
// Your objects here
return 1;
}