13.05.2012, 17:47
Salut ,
J'ai une erreur dans mon GM regarder sa ,
Voici l'erreur
J'ai une erreur dans mon GM regarder sa ,
PHP Code:
else if(PRESSED(KEY_WALK) && IsPlayerInRangeOfPoint(playerid, 1.5,298.2446, 201.8958, 889.5491)) // LSS
{
if(CompteJoueur[playerid][Faction] == 2)
{
MoveObject(PrisonPorte1,296.96875000,207.98828125,892.72052002, 2.2500000);
SendClientMessage(playerid,COULEUR_JAUNE,"[Prison] Ouverture de la porte , elle se refermera dans 4secondes.");
new Nom[24];
new string[250];
GetPlayerName(playerid, Nom, sizeof(Nom));
format(string, sizeof(string), "%s ouvre la grille avec son badge. ",Nom);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimer("PrisonPorte", 4500, false);
}
}
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