[Problиme] Erreur que je vois pas d'ou sa peux venir
#1

Salut ,
J'ai une erreur dans mon GM regarder sa ,
PHP Code:
    else if(PRESSED(KEY_WALK) && IsPlayerInRangeOfPoint(playerid1.5,298.2446201.8958889.5491)) // LSS
    
{
       if(
CompteJoueur[playerid][Faction] == 2)
       {
           
MoveObject(PrisonPorte1,296.96875000,207.98828125,892.720520022.2500000);
           
SendClientMessage(playerid,COULEUR_JAUNE,"[Prison] Ouverture de la porte , elle se refermera dans 4secondes.");
           new 
Nom[24];
           new 
string[250];
           
GetPlayerName(playeridNomsizeof(Nom));
           
format(stringsizeof(string), "%s ouvre la grille avec son badge. ",Nom);
           
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
           
SetTimer("PrisonPorte"4500false);
       }
    } 
Voici l'erreur

Code:
C:\Users\PLAY\Pictures\SAMP\Exia Role PLay\gamemodes\ERP.pwn(726) : error 028: invalid subscript (not an array or too many subscripts): "CompteJoueur"
C:\Users\PLAY\Pictures\SAMP\*****\gamemodes\ERP.pwn(726) : warning 215: expression has no effect
C:\Users\PLAY\Pictures\SAMP\*****\gamemodes\ERP.pwn(726) : error 001: expected token: ";", but found "]"
C:\Users\PLAY\Pictures\SAMP\*****\gamemodes\ERP.pwn(726) : error 029: invalid expression, assumed zero
C:\Users\PLAY\Pictures\SAMP\*****\gamemodes\ERP.pwn(726) : fatal error 107: too many error messages on one line
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)