How to make [FS] With objects
#1

hai can someone tell me how to create filterscript with objects plx :P
Reply
#2

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;
}
Reply
#3

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?
Reply
#4

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);
Reply
#5

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
Reply
#6

Hah, i forgot that i just woke up xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)