Raised This Month: $ Target: $400
 0% 

How can I extend the list const BOOT[]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CsIosefin
Senior Member
Join Date: Aug 2009
Old 08-17-2010 , 13:13   How can I extend the list const BOOT[]
Reply With Quote #1

How do I read the entire line, I read only the first in line ... why?
Code:
#include <amxmodx>
#include <fakemeta>

new const BOOT[] = { "Name", "Name2" }

public plugin_init() 
{
	set_task(2.0, "cmdBOOT")
}

public cmdBOOT()
{    
	new PLAYER = engfunc(EngFunc_CreateFakeClient, BOOT)

	if(pev_valid(PLAYER)) 
	{
		set_pev(PLAYER, pev_team, 3)
		dllfunc(DLLFunc_Think, PLAYER)
	}
}
CsIosefin is offline
 



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 21:56.


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