RE : Excuse, j'avais pas vérifier donc forcement, il te manque 2 accolade en faite donc :
if(strcmp(cmd, "/pdf", true) == 0)
{
new Float:x = 0.0, Float:y = 0.0, Float:z = 0.0;
GetPlayerPos( playerid, x, y, z );
for( new i = 0; i < MAX_PLAYERS; i++ )
{
if(PlayerInfo[playerid][pLeader] == 11 || PlayerInfo[playerid][pMember] == 11)
{
SendClientMessage (playerid, COLOR_FADE3, "Vous n'êtes pas catcheur"),
}
if (PlayerToPoint (30, 1362.1768,2163.4197,11.9345)
{
SendClientMessage (playerid, COLOR_FADE3, "Vous n'êtes pas sur le ring");
}
if( IsPlayerInRangeOfPoint( i, 1, x, y, z) )
{
SetPlayerHealth (i, GetPlayerHealth (i)/2.0);
}
}
}
return 1;
}
PS : Les fonction sont mal defini regarde exemple : SendClientMessage (playerid, COLOR_FADE3, "Vous n'êtes pas catcheur"), > SendClientMessage (playerid, COLOR_FADE3, "Vous n'êtes pas catcheur"); (( Mais à toi de modifier ))
:) D0os-Nox :D