I'm Stumbed can anyone help? code/errors below
#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" |
Re: I'm Stumbed can anyone help? code/errors below
why you put GetEntPropString(entity, Prop_Data, "m_iName", _sName, sizeof(_sName)); in Onpluginstart ?
|
Re: I'm Stumbed can anyone help? code/errors below
Quote:
|
Re: I'm Stumbed can anyone help? code/errors below
In OnPluginStart is not valide
|
Re: I'm Stumbed can anyone help? code/errors below
Quote:
|
Re: I'm Stumbed can anyone help? code/errors below
Quote:
|
Re: I'm Stumbed can anyone help? code/errors below
Can you post more of the code?
Also to make things a bit easier on the eyes use CODE tags Code:
//code goes here |
Re: I'm Stumbed can anyone help? code/errors below
Quote:
What prop(s) are you looking for? Quote:
PHP Code:
|
Re: I'm Stumbed can anyone help? code/errors below
ok i am trying to make a prop spawn list that i can edit to enable or disable curtain props, (wanting props to shot out from your cross-hair and if they hit a player deal damage as part of a prop war, a one life realism style prop war)
|
Re: I'm Stumbed can anyone help? code/errors below
Quote:
|
All times are GMT -4. The time now is 12:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.