Je suis désolé mais j'ai vraiment pas compris cette notions je script depuis 4 jours sur un projet Dm/Mirp j'ai aquis bon nombres de base mais celle si je ne la comprends pas .
_________________________________________________________________________________ ________________________________________
if(strcmp(cmdtext, "/dire", true) == 0)
{
new name[MAX_PLAYER_NAME], string[44];
GetPlayerName(playerid, name, sizeof(name));
new result[64];
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i,20.0,x,y,z))// on compare la position de '' i '' à playerid
{
format(string, sizeof(string), "%s crie : %s ",name,result);
SendClientMessage(i,COLOR_BLUE, string);
}
}
return 1;
J'ai tentais ceci mais sa ne marche pas encore . Et aussi comment faire pour que quand on tape la commande on voit le nom de la personne ?