Raised This Month: $ Target: $400
 0% 

undefined symbol "id"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Belsebub
Senior Member
Join Date: Feb 2005
Location: Sweden
Old 04-13-2005 , 10:34   undefined symbol "id"
Reply With Quote #1

right now im working on a hidden mod request from Gangsta Bear and i need some help,

when i compile i get lots of undefined symbol "id" errors

this is the part of code i get the errors on:

Code:
 public StartRound() {     new team     cs_get_user_team(id)     new players     get_playersnum(0)     new iPlayers[32], iNum     get_players( iPlayers, iNum )     if (HiddenCount == 0 && players >= 3) {         id = iPlayers[ random_num(0, iNum-1) ]         Hidden[id] = true         HiddenCount++         return PLUGIN_CONTINUE         } else if (Hidden[id] == true && team == 1) {             cs_set_user_team(id, CS_TEAM_CT, CS_CT_GIGN)             return PLUGIN_CONTINUE         } else if (IRIS[id] == true && team == 2){             cs_set_user_team(id, CS_TEAM_T, CS_T_ARCTIC)             return PLUGIN_CONTINUE             } }


if anyone can help me tell me what to change and why so i will learn to next time
Belsebub 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 09:53.


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