Shinago
01-04-2012, 12:39
#include <sourcemod>
#include <sdktools>
#include <adminmenu>
//Proplist
new Handle: PropEnable = INVALID_HANDLE;
new string:_sName[512];
public OnPluginStart()
{
/* line 16*/GetEntPropString(entity, Prop_Data, "m_iName", _sName, sizeof(_sName));
/* line 17*/PropEnable = CreateConVar(_sName,1,"Enable Prop");
AutoExecConfig(true,"PropList","configs");
}
:x:x:cry::cry::stupid:
Errors are
(16) : error 017: undefined symbol "entity"
(17) : warning 213: tag mismatch
(17) : error 035: argument type mismatch (argument 2)
(17) : warning 204: symbol is assigned a value that is never used: "PropEnable"
#include <sdktools>
#include <adminmenu>
//Proplist
new Handle: PropEnable = INVALID_HANDLE;
new string:_sName[512];
public OnPluginStart()
{
/* line 16*/GetEntPropString(entity, Prop_Data, "m_iName", _sName, sizeof(_sName));
/* line 17*/PropEnable = CreateConVar(_sName,1,"Enable Prop");
AutoExecConfig(true,"PropList","configs");
}
:x:x:cry::cry::stupid:
Errors are
(16) : error 017: undefined symbol "entity"
(17) : warning 213: tag mismatch
(17) : error 035: argument type mismatch (argument 2)
(17) : warning 204: symbol is assigned a value that is never used: "PropEnable"