Raised This Month: $ Target: $400
 0% 

PlayerClass[33]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 06-04-2009 , 02:16   PlayerClass[33]
Reply With Quote #1

what i doing bad for this line's ?

PHP Code:
public bacon_spawn(id)
{
    if (
get_user_team(id) == 1)
{
        
PlayerClass[id] = random_num(03)
    }

Error's:
Quote:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

zombie_swarm.sma(50) : error 017: undefined symbol "PlayerClass"
zombie_swarm.sma(50) : warning 215: expression has no effect
zombie_swarm.sma(50) : error 001: expected token: ";", but found "]"
zombie_swarm.sma(50) : error 029: invalid expression, assumed zero
zombie_swarm.sma(50) : fatal error 107: too many error messages on one line

Compilation aborted.
4 Errors.
Done.


ERROR: Your plugin failed to compile, see above.
Please note that the silly compiler still tried to output a compiled plugin, but since it would be broken,
the webcompiler caught it, and won't let you download it.
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
 



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


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