AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   PlayerClass[33] (https://forums.alliedmods.net/showthread.php?t=93903)

~Ice*shOt 06-04-2009 02:16

PlayerClass[33]
 
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.

Arkshine 06-04-2009 02:23

Re: PlayerClass[33]
 
Quote:

zombie_swarm.sma(50) : error 017: undefined symbol "PlayerClass"

~Ice*shOt 06-04-2009 02:48

Re: PlayerClass[33]
 
i creating PlayerClass[33] but this not works

Arkshine 06-04-2009 02:57

Re: PlayerClass[33]
 
Learn the basis of pawn before altering advanced plugin.

~Ice*shOt 06-04-2009 03:12

Re: PlayerClass[33]
 
did not.

Exolent[jNr] 06-04-2009 03:17

Re: PlayerClass[33]
 
Did not what? Learn the basics of Pawn? Because we already know that.

~Ice*shOt 06-04-2009 03:36

Re: PlayerClass[33]
 
accurately explain please, I do not

~Ice*shOt 06-04-2009 05:47

Re: PlayerClass[33]
 
whats can say for me what i doing bad ?

Dr.G 06-04-2009 06:10

Re: PlayerClass[33]
 
Quote:

Originally Posted by ~Ice*shOt (Post 841311)
whats can say for me what i doing bad ?

that sentence doesnt make any sence either. dude! learn to speak english, or at least, find a better translater.

[X]-RayCat 06-04-2009 06:53

Re: PlayerClass[33]
 
Quote:

Originally Posted by Dr.G (Post 841318)
that sentence doesnt make any sence either. dude! learn to speak english, or at least, find a better translater translator.



All times are GMT -4. The time now is 14:03.

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