GTAOnline.net
San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: Tejy1997 le 10 Juillet 2012, 00:25:53
-
Bonjours,
Voila quand je compile mon GM j'ai un problème.
Voila le probleme :
C:\Users\tom\Desktop\Perso\Serveur\Torreto Racing\gamemodes\TorettoRacing.pwn(7849) : error 017: undefined symbol "AdminLevel"
C:\Users\tom\Desktop\Perso\Serveur\Torreto Racing\gamemodes\TorettoRacing.pwn(7849) : warning 215: expression has no effect
C:\Users\tom\Desktop\Perso\Serveur\Torreto Racing\gamemodes\TorettoRacing.pwn(7849) : error 001: expected token: ";", but found "]"
C:\Users\tom\Desktop\Perso\Serveur\Torreto Racing\gamemodes\TorettoRacing.pwn(7849) : error 029: invalid expression, assumed zero
C:\Users\tom\Desktop\Perso\Serveur\Torreto Racing\gamemodes\TorettoRacing.pwn(7849) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Voila le code de la ligne 7849 :
//dcmd//
//Administrator Commands//
if(AdminLevel[playerid] >= 1) //Ligne 7849
{
Merci de votre aide
-
Ta variable n'existe tout simplement pas.
-
essaie d'y insérer ceci:
new AdminLevel[MAX_PLAYERS];en haut de GameMode
-
Ok merci
-
Il y a pas de quoi :)