Request How We Make A Toggle?
#21
(07-26-2011, 12:29)Lost4468 Wrote:
(07-25-2011, 22:03)koil Wrote: its very wrong..

add to init -

This is dumb, in init self is the level, you do know self isn't the player most of the time?


Edit: Here's mine

Code:
toggle3p() { while(isalive(self)) { if(self ActionSlotThreeButtonPressed()) self setclientdvar("cg_thirdperson",!getdvarint("cg_thirdperson")); wait 0.05; } }

Mine works.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Make area detect. flag Teleport lewisbibo 4 6,723 10-12-2013, 18:10
Last Post: EnVi Sweden Rocks
Wink Make Platforme lewisbibo 5 7,033 10-08-2013, 14:35
Last Post: 8q4s8
  Make obj MW3.by lewisbibo lewisbibo 3 4,990 10-05-2013, 20:16
Last Post: Nekochan
  Make obj MW3.by lewisbibo lewisbibo 0 3,280 10-03-2013, 20:19
Last Post: lewisbibo
  Help need help?how to make plugins code hXnarutoXone 12 11,726 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Make ac130 shoot custom bullets Ra3shed 0 3,646 07-23-2013, 13:02
Last Post: Ra3shed
  how to make a plugin (mod) E-losev 5 5,992 07-12-2013, 15:48
Last Post: OzonE
  [Release] Make Trees Fall Yamato 8 14,455 06-15-2013, 11:45
Last Post: xfxtroll
  How to make superjump mod TDM sniper hipperz 4 5,454 03-28-2013, 15:09
Last Post: hillbilly
  Help Make Waypoint FaiR_PLaY 10 8,774 02-12-2013, 13:09
Last Post: archit

Forum Jump:


Users browsing this thread:
1 Guest(s)

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