AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   get_pcvar_string = ? (https://forums.alliedmods.net/showthread.php?t=281613)

Pandora 04-15-2016 18:27

get_pcvar_string = ?
 
Hi,

If in CS 1.6, the code register_clcmd is equal to RegConsoleCmd in CS:GO, what's the code for CS 1.6's get_pcvar_string in CS:GO?

Please help.

__________________________________________

Thanks.

EFFx 04-15-2016 18:40

Re: get_pcvar_string = ?
 
Post in SourceMod

Artifact 04-16-2016 00:14

Re: get_pcvar_string = ?
 
I thing you got a point
PHP Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

new pcvar

public plugin_init() {
//    -----------------
    
pcvar register_cvar("what_is_ur_name""AssHole")
//    -----------------
}

public 
client_putinserver(id)
{
//    -----------------------
    
new name[8]
    
get_pcvar_string(pcvarnamecharsmax(name))
//    -----------------------
    
client_print(0print_chat"My name is %s"pcvar)



OciXCrom 04-16-2016 09:00

Re: get_pcvar_string = ?
 
He's talking in robot language.
Translation: If in CS 1.6, the code register_clcmd is equal to RegConsoleCmd in CS:GO, what's the code for CS 1.6's get_pcvar_string in CS:GO?
He's posting in the wrong section.

Pandora 04-16-2016 09:52

Re: get_pcvar_string = ?
 
I'm from turkey. english language bad speak.

OciXCrom Translation Thanks.


All times are GMT -4. The time now is 18:36.

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