0 Membres et 1 Invité sur ce sujet
#include <a_samp>#include <a_players>new kill[MAX_PLAYERS];new Death[MAX_PLAYERS];new killp = kill[playerid];//ca c nulnew Deathp = Death[playerid];//idemnew string[64];#define SendAllInfoMessage(%0) SendClientMessage(0xFF9900AA, %0)
new Kill[MAX_PLAYERS];new Death[MAX_PLAYERS];
Kill[playerid] = 0;Death = 0;
Kill[killerid] = Kill[playerid] + 1;Death[playerid] = Death[playerid] + 1;
format(string, sizeof(string), "Kill: %d - Death: %d", kill[playerid], Death[playerid]);
format(tmp, sizeof(tmp), "Kill: %d - Death: %d" , kill[0], Death[0], tmp);
format(tmp, sizeof(tmp), "Kill: %d - Death: %d" , kill[playerid], Death[playerid]);
comme quoi je me fatigue a expliquer est rien n'est lu pourquoi continuer de t'aider master bru ?
A la place de :Code: [Sélectionner]format(tmp, sizeof(tmp), "Kill: %d - Death: %d" , kill[0], Death[0], tmp);Tu mets sa :Code: [Sélectionner]format(tmp, sizeof(tmp), "Kill: %d - Death: %d" , kill[playerid], Death[playerid]);
format(string, sizeof(string), "Kill: %d - Death: %d", Kill[playerid], Death[playerid]);
Enfin a par les tmp et string mais c'est la même chose non ?? (sinon c'est quoi la différence ?)