Hello à tous !
Voilà, j'ai un trou (de mémoire). Je ne me souviens plus comment déclarer 2 fois IfPlayerIsRangeOfPoint pour 1 seul commande (équivalent au IfPlayerToPoint).
J'ai chercher dans quelques GM comment procéder, j'ai tenter ceci:
if (strcmp("/commande", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 286.86, 1140.77, 8.72 || if(IsPlayerInRangeOfPoint(playerid, 3.0, 286.86, 1140.77, 8.72))
{
// Code ....
return 1;
}
}
Si vous avez la solution, la manière de faire, ça serait sympa de m'en faire part ! x)
Merci d'avance ! Spector.