Raised This Month: $32 Target: $400
 8% 

Fire a non ConVar command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Blinx
Senior Member
Join Date: Oct 2013
Old 03-23-2019 , 12:12   Fire a non ConVar command
Reply With Quote #1

Is it possible to fire a non ConVar console command via Sourcepawn? I understand there's SetConVar for setting the values of ConVars but what if it's a console command supplied by another plugin that doesn't provide forwards?

For my case in particular, I want to fire "sm_map somemap" to change the current map (maybe there's a better way of doing this)
Blinx is offline
Blinx
Senior Member
Join Date: Oct 2013
Old 03-23-2019 , 12:18   Re: Fire a non ConVar command
Reply With Quote #3

Thank you for the quick and informative response
Blinx 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 12:44.


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