SA-MP Forums Archive
I still have the same errors clan system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I still have the same errors clan system (/showthread.php?tid=431073)



I still have the same errors clan system - RandomDude - 16.04.2013

The errors are this
Quote:

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

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


4 Errors.

The errors are all on line 248
Here is line 248

Quote:

pS[UseClanSkin] = 0;

Here is it under playerconnect

Quote:

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

Here are the defines for Ps AND THE OTHER P's

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]

Here is the enum for playerstatus

Quote:

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

Thank You.