Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Thirdperson plugin
#1
Rainbow 


Attached Files
.rar   3rdperson_plug.rar (Size: 2.16 KB / Downloads: 110)
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#2
Good job


[Image: MaEIQ.png]
Reply

#3
(01-06-2012, 13:38)Pozzuh Wrote: Good job



posted for you Superman
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#4
Why did you put in the list<t>? :p
also you won't need System.Net

bysides that, nice and simple.
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#5
(01-06-2012, 13:48)iAegle Wrote: Why did you put in the list<t>? :p
also you won't need System.Net

bysides that, nice and simple.

thats was in my test plugin, forgot to delete
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#6
Here's one that forces thirdperson for the whole server

CSHARP Code
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Addon;
  6.  
  7. namespace mw3_svr_3rdperson
  8. {
  9. public class Class1 : CPlugin
  10. {
  11. int Timer = 0;
  12. public override void OnServerLoad()
  13. {
  14. ServerPrint( "3rd Person Mode Loaded." );
  15. SetDvar( "scr_thirdperson", "1" );
  16. SetDvar( "cg_thirdperson", "1" );
  17. }
  18.  
  19. public override void OnServerFrame()
  20. {
  21. if ( Timer++ == 5000 )
  22. {
  23. foreach( ServerClient client in GetClients() )
  24. SetClientDvar( client.ClientNum, "cg_thirdperson \"1\"" );
  25.  
  26. if ( GetDvar( "scr_thirdperson" ) != "1" )
  27. {
  28. SetDvar( "scr_thirdperson", "1" );
  29. SetDvar( "cg_thirdperson", "1" );
  30. }
  31.  
  32. Timer = 0;
  33. }
  34. }
  35. }
  36. }


Attached Files
.rar   Debug.rar (Size: 56.23 KB / Downloads: 29)
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#7
here's one that does exactly the same as the post above me

CSHARP Code
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Addon;
  6.  
  7. namespace mw3_svr_3rdperson
  8. {
  9. public class Class1 : CPlugin
  10. {
  11. public override void OnServerLoad()
  12. {
  13. ServerPrint( "3rd Person Mode Loaded." );
  14. SetDvar( "scr_thirdperson", "1" );
  15. }
  16. }
  17. }
Reply

#8
(01-06-2012, 14:08)jariz Wrote: here's one that does exactly the same as the post above me

CSHARP Code
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Addon;
  6.  
  7. namespace mw3_svr_3rdperson
  8. {
  9. public class Class1 : CPlugin
  10. {
  11. public override void OnServerLoad()
  12. {
  13. ServerPrint( "3rd Person Mode Loaded." );
  14. SetDvar( "scr_thirdperson", "1" );
  15. }
  16. }
  17. }

Hmm true, but does that actually work? :o
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#9
Yes, tested it a few days ago just type "scr_thirdperson 1;map_restart" and your server is thirdperson without any plugins
Reply

#10
(01-06-2012, 14:14)jariz Wrote: Yes, tested it a few days ago just type "scr_thirdperson 1;map_restart" and your server is thirdperson without any plugins

Your code without view switching like my :3
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 4,167 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,748 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,565 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,670 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,179 10-19-2013, 06:59
Last Post: iRoNinja
  [Release] Yurio Map Plugin Yurio 101 62,286 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,639 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,711 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,276 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks
  Search Plugin Fluid Killcam N3xT_974 1 3,063 09-10-2013, 20:27
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.