Don't understand this emm...
#1

Quote:

C:\Users\Grand\Desktop\Ultimate Gaming Ground\filterscripts\Clan Script.pwn(257) : error 029: invalid expression, assumed zero
C:\Users\Grand\Desktop\Ultimate Gaming Ground\filterscripts\Clan Script.pwn(257) : warning 215: expression has no effect
C:\Users\Grand\Desktop\Ultimate Gaming Ground\filterscripts\Clan Script.pwn(257) : error 001: expected token: ";", but found "]"
C:\Users\Grand\Desktop\Ultimate Gaming Ground\filterscripts\Clan Script.pwn(257) : error 029: invalid expression, assumed zero
C:\Users\Grand\Desktop\Ultimate Gaming Ground\filterscripts\Clan Script.pwn(257) : fatal error 107: too many error messages on one line

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


4 Errors.

Line 257
pawn Код:
pS[UseClanSkin] = 0;
pawn Код:
#define pS [playerid]
I have defined Ps so why?? -_-
here is it in the full thing :P
pawn Код:
public OnPlayerConnect(playerid)
{
    pS[UseClanSkin] = 0;
    pS[Clan]        = Negative;
    pS[ClanRequest] = Negative;
    pS[Spawned]     = 0;
    return 1;
}
Reply
#2

You defined pS as playerid.

Try doing this.
pawn Код:
new UseClanSkin[MAX_PLAYERS] = 0;
Reply
#3

I have that already in playerstats
pawn Код:
enum PlayerStatus
{
    ClanRequest,
    bool:ListDialog,
    SpawnPoint,
    Clan,
    Rank,
    FileName[128],
    UseClanSkin
};
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)