Oui, mais où puis-je savoir où l'accolade que je dois fermer est..
Voici le code où je pense que ça bug:
public IsAOBike(carid)
{
if((carid >= 237 && carid <= 267))
{
return 1;
}
return 0;
}
//-----------
public (playerid)
{
//Inf[playerid] = 1;
//---------------------------[speedo]---------
TextDrawsShown[playerid] = false;
VHSCreated[playerid] = false;
LightRedHealthCreated[playerid] = false;
LightYellowSpeedCreated[playerid] = false;
//--------------------------------------------
///---------------
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
new astring[256];
format(astring, sizeof(astring), "%s vient de rejoindre la ville...",plname);
SendClientMessageToAll(COLOR_YELLOW, astring);
if(Security != 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
Kick(playerid);
return 1;
}
new namestring = strfind(plname, "_", true);
if(namestring == -1)
{
SendClientMessage(playerid, COLOR_YELLOW2, "Département de l'immigration: Votre prénom & nom sont interdits dans la ville.");
SendClientMessage(playerid, COLOR_YELLOW2, "[HRP] Info: Votre prénom & nom doit être RP. Exemple: Samy_Legend");
Kick(playerid);
return 1;
}