3 registered members (AndrewAMD, VoroneTZ, dpn),
1,346
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
(anet) weapon generator
#402983
06/13/12 03:31
06/13/12 03:31
|
Joined: Feb 2010
Posts: 886
Random
OP
User
|
OP
User
Joined: Feb 2010
Posts: 886
|
I just wanted to ask how to create an object correct with anet. I tryed:
action weapon_generator()
{
set(my,PASSABLE);
set(my,INVISIBLE);
wait(1);
while (my)
{
wait(-10);
ent_create ("deagle.mdl", vector(-600 + random(1200),-600 + random(1200),my.z), deagle);
wait(1);
}
}
But that doesn't happen at the same time with all clients... What do I have to do?
|
|
|
Re: (anet) weapon generator
[Re: Espér]
#402989
06/13/12 08:10
06/13/12 08:10
|
Joined: Nov 2007
Posts: 2,568 Germany, BW, Stuttgart
MasterQ32
Expert
|
Expert
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
|
enet_svent_create enet_clent_create you need to register the model as a global anet model look in the manual for examples offtopic: ist doch schön, wenn wir deutschen und ans forum anpassen und englisch schreiben
|
|
|
Re: (anet) weapon generator
[Re: Espér]
#403012
06/13/12 15:06
06/13/12 15:06
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
When you have ANet Web/Standard/Professional, you can of course use it for commercial projects! Only the demo edition must not be used for commercial projects.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: (anet) weapon generator
[Re: Dark_samurai]
#403067
06/14/12 02:53
06/14/12 02:53
|
Joined: Feb 2010
Posts: 886
Random
OP
User
|
OP
User
Joined: Feb 2010
Posts: 886
|
off topic. MasterQ32: Das ist wirklich unglaublich. Wir deutschen sind sehr anpassungsfahig. Siehst du? Ich benutze im Moment sogar eine Amerikanische Tastatur ^^
On topic. Thanks. I will try it out. And are there any open scoure games made with Anet?? I would really like to tare one appart, mash it back together and run a thousends of test with the mashed pices ^^
|
|
|
Re: (anet) weapon generator
[Re: Random]
#403109
06/14/12 15:15
06/14/12 15:15
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Germanunkol made a small open source shooter example with ANet. You can get it here: http://www.anet-plugin.com/downloads_eng.htmBut the code got a bit messy because of my changes when I adapted it to new ANet versions...
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
|