4 Errors on one line -_-
#1

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

LINE 253
Quote:

pS[UseClanSkin] = Negative;

Thats were all the errors are in line 253.

Here is it all...
Quote:

public OnPlayerConnect(playerid)
{
pS[UseClanSkin] = Negative;
pS[Clan] = Negative;
pS[ClanRequest] = Negative;
return 1;
}

Reply
#2

pawn Code:
pS[UseClanSkin]=0;
PS: Show us please the pS variable and the enum for it.

Should look simmilar like this:

pawn Code:
enum WhatEver
{
    UseClanSkin
}

new pS[MAX_PLAYERS][WhatEver];
When yes than has it to be:

pawn Code:
pS[playerid][UseClanSkin]=0;
Reply
#3

Quote:

#define pX Player[playerid][X]
#define pY Player[playerid][Y]
#define pZ Player[playerid][Z]
#define pA Player[playerid][A]
#define pS Player[playerid]

theres the define's
Quote:

enum PlayerStatus
{
ClanRequest,
bool:ListDialog,
Clan,
Rank,
UseClanSkin,
};

theres the enums
Reply
#4

Watch please my edit.

You mix .Net, C++ or C# with Pawn.

And the last entry in a enum doesn't can have a ",".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)