Where is the problem?
#1

Hi,

Where is the problem?
Errors:

Quote:

C:\Program Files\gamemodes\myserver.pwn(681) : error 022: must be lvalue (non-constant)
C:\Program Files\gamemodes\myserver.pwn(681) : warning 215: expression has no effect
C:\Program Files\gamemodes\myserver.pwn(681) : error 001: expected token: ";", but found ")"
C:\Program Files\gamemodes\myserver.pwn(681) : error 029: invalid expression, assumed zero
C:\Program Files\gamemodes\myserver.pwn(681) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Script:

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetupPlayerForClassSelection(playerid);
    gClass[playerid] = classid;
   
    if(classid == 133 || classid == 134 || classid == 135) {
        GameTextForPlayer(playerid,"~g~Spawn 1",5000,5);
    } else if(classid == 140 || classid == 141 || classid = 142) {
      GameTextForPlayer(playerid,"~r~Spawn 2",5000,5);
    } else if(classid == 200 || classid == 201) {
        GameTextForPlayer(playerid,"~p~Spawn 3",5000,5);
    }
    return 1;
}
Reply


Messages In This Thread
Where is the problem? - by Oregon_Science - 04.12.2009, 15:31
Re: Where is the problem? - by Correlli - 04.12.2009, 15:32
Re: Where is the problem? - by Oregon_Science - 04.12.2009, 15:42
Re: Where is the problem? - by Oregon_Science - 04.12.2009, 17:46
Re: Where is the problem? - by Oregon_Science - 04.12.2009, 18:49
Re: Where is the problem? - by Nero_3D - 04.12.2009, 18:56

Forum Jump:


Users browsing this thread: 2 Guest(s)