[Help] SetPlayerColor on factions
#1

can any fix this bugs please
Код:
if(PlayerInfo[playerid][pMember] == 0) { SetPlayerColor(playerid, 0xFFFFFFFF); } //Civil
		if(PlayerInfo[playerid][pMember] == 1) { SetPlayerColor(playerid, COLOR_BLUE); } //COP
		if(PlayerInfo[playerid][pLeader] == 1) { SetPlayerColor(playerid, COLOR_BLUE); } //COP
		if(PlayerInfo[playerid][pMember] == 2) { SetPlayerColor(playerid, COLOR_BLUE); } //FBI
		if(PlayerInfo[playerid][pLeader] == 2) { SetPlayerColor(playerid, COLOR_BLUE); } //FBI
		if(PlayerInfo[playerid][pMember] == 3) { SetPlayerColor(playerid, COLOR_GREEN); } // ARM
		if(PlayerInfo[playerid][pLeader] == 3) { SetPlayerColor(playerid, COLOR_GREEN); } // ARM
		if(PlayerInfo[playerid][pMember] == 4) { SetPlayerColor(playerid, COLOR_WHITE); } //BOLNICAR
		if(PlayerInfo[playerid][pLeader] == 4) { SetPlayerColor(playerid, COLOR_WHITE); } //BOLNICAR
		if(PlayerInfo[playerid][pMember] == 5) { SetPlayerColor(playerid, 0x000000AA); } //LCN
		if(PlayerInfo[playerid][pLeader] == 5) { SetPlayerColor(playerid, 0xFF0000FF); } //LCN
		if(PlayerInfo[playerid][pMember] == 6) { SetPlayerColor(playerid, 0x808080FF); } //YKZ
		if(PlayerInfo[playerid][pLeader] == 6) { SetPlayerColor(playerid, 0xFF0000FF); } //YKZt
		if(PlayerInfo[playerid][pMember] == 7) { SetPlayerColor(playerid, 0xD3D3D3FF); } //Sobranie
		if(PlayerInfo[playerid][pLeader] == 7) { SetPlayerColor(playerid, 0xD3D3D3FF); } //Gradonacalnik
		if(PlayerInfo[playerid][pMember] == 8) { SetPlayerColor(playerid, COLOR_WHITE); } //Hitman
		if(PlayerInfo[playerid][pLeader] == 8) { SetPlayerColor(playerid, COLOR_WHITE); } //Hitman
		if(PlayerInfo[playerid][pMember] == 9) { SetPlayerColor(playerid, COLOR_WHITE); } //NEWS
		if(PlayerInfo[playerid][pLeader] == 9) { SetPlayerColor(playerid, COLOR_WHITE); } //NEWS
		if(PlayerInfo[playerid][pMember] == 10) { SetPlayerColor(playerid, COLOR_WHITE); } //TAXI
		if(PlayerInfo[playerid][pLeader] == 10) { SetPlayerColor(playerid, COLOR_WHITE); } //TAXI
		if(PlayerInfo[playerid][pMember] == 11) { SetPlayerColor(playerid, COLOR_LIGHTBLUE); } //LSG
		if(PlayerInfo[playerid][pLeader] == 11) { SetPlayerColor(playerid, 0xFF0000FF); } //LSG
		if(PlayerInfo[playerid][pMember] == 12) { SetPlayerColor(playerid, COLOR_WHITE); } //Ballas
		if(PlayerInfo[playerid][pLeader] == 12) { SetPlayerColor(playerid, COLOR_WHITE); } //Ballas
		if(PlayerInfo[playerid][pMember] == 13) { SetPlayerColor(playerid, 0x33AA33AA); } //GROVE STRET
		if(PlayerInfo[playerid][pLeader] == 13) { SetPlayerColor(playerid, 0xFF0000FF); } //GROVE STRET
ERRORS ARE
Код:
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31644) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31645) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31646) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31647) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31648) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31649) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31650) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31651) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31652) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31653) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31654) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31655) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31656) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31657) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31658) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31659) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31660) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31661) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31662) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31663) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31664) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31665) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31666) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31667) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31668) : error 010: invalid function or declaration
C:\Documents and Settings\Rade Kocev\Desktop\Dreamworld RPG v0.2\Dreamworld RPG v0.2.0\gamemodes\DREAMWORLD.pwn(31669) : error 010: invalid function or declaration

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


26 Errors.
please i don't know how to fix
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)