Raised This Month: $ Target: $400
 0% 

Help Fixing Errors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jagged20101
Member
Join Date: Sep 2009
Old 10-06-2009 , 08:51   Help Fixing Errors
Reply With Quote #1

Error 1:

PHP Code:
434.sma(56) : error 017undefined symbol "iPlayers"
434.sma(56) : error 001expected token";"but found ")"
434.sma(56) : error 029invalid expressionassumed zero 
Section Of Code:

PHP Code:
public SGsLastRequest(id)
{
 new 
menu menu_create("\SGs Last Request:""menu_handler")
 
 
menu_additem(menu"\Knife fight""1"0);
 
menu_additem(menu"\Shot for shot""2"0);
 
menu_additem(menu"\Gun toss""3"0);
 
menu_additem(menu"\Spray Contest""4"0);
 
 
menu_setprop(menuMPROP_EXITMEXIT_ALL);
 
menu_display(idmenu0);
{
 new 
iPlayer[32], iT;
 
get_players(iPlayersiT"ae""TERRORIST");
 
 if (
iT == && cs_get_user_team(id) == CS_TEAM_T && is_user_alive(id))
 {
  
menu_handler(idmenuitem)
 }
 else
 {
  
client_print(idprint_chat"You cannot use that command.")
 }
}  

jagged20101 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 22:38.


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