AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help. "get_pcvar_float()" and "register_cvar( (https://forums.alliedmods.net/showthread.php?t=25175)

kinsprite2 03-09-2006 08:53

help. "get_pcvar_float()" and "register_cvar(
 
new Float:g_flood_time

public plugin_init()
{
//....
g_flood_time = register_cvar("amx_flood_time","0.75") //** tag mismatch
}

new Float:max = get_pcvar_float(g_nameflood_time) //** tag mismatch

Why ?

BAILOPAN 03-09-2006 08:54

Re: help. "get_pcvar_float()" and "register_c
 
remove the Float: from g_flood_time

kinsprite2 03-09-2006 18:11

Re: help. "get_pcvar_float()" and "register_c
 
Quote:

Originally Posted by BAILOPAN
remove the Float: from g_flood_time

a direct memory access

Thank you. sir


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

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