07.06.2009, 17:53
Hi everyone
Srry for my last topics but a friend of mine get's a little angry most of the time xD
but i have a problem with mij Grove/Ballas server
That is my grove/ballas pawno script i get this warning
And the script doesn't work does anyone nows what the problem is?
Srry for my last topics but a friend of mine get's a little angry most of the time xD
but i have a problem with mij Grove/Ballas server
Code:
#define TEAM_GROVE 1 #define TEAM_BALLA 2 #define TEAM_GROVE_COLOR 0x00FF00AA // Bright Green (in RGBA format) #define TEAM_BALLA_COLOR 0xFF00FFAA // Bright Purple new gTeam[MAX_PLAYERS]; SetPlayerTeamFromClass(playerid, classid) { if (classid == 0) { gTeam[playerid] = TEAM_GROVE; } else { gTeam[playerid] = TEAM_BALLA; } } SetPlayerToTeamColor(playerid) { if (gTeam[playerid] == TEAM_GROVE) { SetPlayerColor(playerid, TEAM_GROVE_COLOR); } else if (gTeam[playerid] == TEAM_BALLA) { SetPlayerColor(playerid, TEAM_BALLA_COLOR); } }
Code:
C:\Gta sa server\gamemodes\BallasGrove.pwn(208) : warning 203: symbol is never used: "SetPlayerTeamFromClass" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.