How to make [FS] With 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make [FS] With objects (
/showthread.php?tid=116763)
How to make [FS] With objects -
Roleplaya - 30.12.2009
hai can someone tell me how to create filterscript with objects plx :P
Re: How to make [FS] With objects -
Niixie - 30.12.2009
Same as when you add them to a gamemode. just insted of using OnPlayerGameModeInit() etc. then use OnPlayerFilterScriptInit() and then add like this
Код:
OnPlayerFilterScriptInit()
{
AddStaticObject(fill this out);
AddSta // and so on
return 1;
}
Re: How to make [FS] With objects -
Roleplaya - 30.12.2009
Quote:
Originally Posted by Niixie
Same as when you add them to a gamemode. just insted of using OnPlayerGameModeInit() etc. then use OnPlayerFilterScriptInit() and then add like this
Код:
OnPlayerFilterScriptInit()
{
AddStaticObject(fill this out);
AddSta // and so on
return 1;
}
|
dont u use the createobject command?
Re: How to make [FS] With objects -
Deat_Itself - 30.12.2009
Quote:
Originally Posted by Roleplaya
Quote:
Originally Posted by Niixie
Same as when you add them to a gamemode. just insted of using OnPlayerGameModeInit() etc. then use OnPlayerFilterScriptInit() and then add like this
Код:
OnPlayerFilterScriptInit()
{
AddStaticObject(fill this out);
AddSta // and so on
return 1;
}
|
dont u use the createobject command?
|
AddStaticObject isnt in 0.3a Use
Код:
CreateObject(modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ);
Re: How to make [FS] With objects -
Crezy-Boy - 30.12.2009
Quote:
Originally Posted by Roleplaya
Quote:
Originally Posted by Niixie
Same as when you add them to a gamemode. just insted of using OnPlayerGameModeInit() etc. then use OnPlayerFilterScriptInit() and then add like this
pawn Код:
OnPlayerFilterScriptInit() { AddStaticObject(fill this out); AddSta // and so on return 1; }
|
dont u use the createobject command?
|
Yes we do, cause AddStaticObject isnt in 0.3 ...
//edit DAMN Saif ! You are so fast
Re: How to make [FS] With objects -
Niixie - 30.12.2009
Hah, i forgot that
i just woke up xD