Bonjour !
Je vous pose encore mon petit problème :lmfao
enfaite je voulais faire 2 equipes , donc j'ai suivis ce magnifique tuto :
http://wiki.sa-mp.com/wiki/PAWN_tutorial >> Making a team deathmatch
voila ,
donc je fais tout correctement (oui oui je vous assure ^^)
mais une erreure me resort
C:\Users\Public\GTA Serveur\0.3b\gamemodes\bare.pwn(36) : error 017: undefined symbol "gTeam"
C:\Users\Public\GTA Serveur\0.3b\gamemodes\bare.pwn(36) : warning 215: expression has no effect
C:\Users\Public\GTA Serveur\0.3b\gamemodes\bare.pwn(36) : error 001: expected token: ";", but found "]"
C:\Users\Public\GTA Serveur\0.3b\gamemodes\bare.pwn(36) : error 029: invalid expression, assumed zero
C:\Users\Public\GTA Serveur\0.3b\gamemodes\bare.pwn(36) : fatal error 107: too many error messages on one line
donc etant intéligent (non ??? ) et bin si ! ^^
j'ai été voir Lignes 36 :O
voici mes lignes 34 a 43
SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_ENNEMIS)
{
SetPlayerColor(playerid, TEAM_ENNEMIS_COLOR);
}
else if (gTeam[playerid] == TEAM_POLICE)
{
SetPlayerColor(playerid, TEAM_POLICE_COLOR);
}
j'èspère que vous pourrez m'aider :)