Raised This Month: $ Target: $400
 0% 

sourcemod plugin problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 01-09-2010 , 16:59   sourcemod plugin problem
Reply With Quote #1

So i made my first plugin called !weapons but i am having a little problem on it. I am trying to make a command that when you type !idle in the chatbox or !survivor or !infected and it joines the team so i added a code or action that makes you go idle but i get this error message saying "l4d_team_spectator is not a symbol" here is my code piece:
Code:
public Action:CmdIdle(client, args)
{
ChangeClientTeam(client, spectator);
return Plugin_Handled;
}
If you also want to read my whole plugin scripting it is attached.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_weapons.sp - 181 views - 22.7 KB)
gamemann is offline
Send a message via Skype™ to gamemann
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Old 01-09-2010 , 19:08   Re: sourcemod plugin problem
Reply With Quote #2

Plzzz help
gamemann is offline
Send a message via Skype™ to gamemann
Reply



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


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