Raised This Month: $51 Target: $400
 12% 

[L4D] cmd respawn without sv_cheats


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mos
New Member
Join Date: Mar 2009
Old 04-27-2009 , 13:51   [L4D] cmd respawn without sv_cheats
Reply With Quote #1

hello,
I do not arrive used the respawn command without sv_cheats
Anybody can help me?

I tested that
PHP Code:
SetCommandFlags("respawn",GetCommandFlags("respawn")^FCVAR_CHEAT); 
mode versus?

sorry for my english

edit : Deceive of test

Last edited by mos; 04-27-2009 at 14:02.
mos is offline
Downtown1
Veteran Member
Join Date: Mar 2004
Old 04-28-2009 , 12:58   Re: [L4D] cmd respawn without sv_cheats
Reply With Quote #2

& ~FCVAR_CHEAT is better, ^FCVAR_CHEAT will toggle it on/off.
Downtown1 is offline
mos
New Member
Join Date: Mar 2009
Old 04-28-2009 , 13:11   Re: [L4D] cmd respawn without sv_cheats
Reply With Quote #3

I tested that

That does not work!
mos is offline
wgooch
Member
Join Date: Dec 2008
Old 05-13-2009 , 23:18   Re: [L4D] cmd respawn without sv_cheats
Reply With Quote #4

respawn, fire, ghost, and boom do not have flags. I was only able to accomplish an admin command for them by turning sv_cheats on without a notification executing the command then resting it to its old value without a notification
wgooch is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 05-14-2009 , 14:37   Re: [L4D] cmd respawn without sv_cheats
Reply With Quote #5

Quote:
Originally Posted by Downtown1 View Post
& ~FCVAR_CHEAT is better, ^FCVAR_CHEAT will toggle it on/off.
This would only work when you do something like "flags &= ~FCVAR_CHEAT". Using the method he's doing, you'd have to do:

PHP Code:
SetCommandFlags("respawn"GetCommandFlags("respawn") | ~FCVAR_CHEAT); 
bl4nk is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode