07-26-2011, 19:22
(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.