ok Merci Diaglo62
j'ai une petite erreur avec le giveplayermoney :
C:\Documents and Settings\Administrateur.15C8C0122FFA4EF\Bureau\Serveur LARP-FR\gamemodes\LSRP-FR.pwn(12128) : error 017: undefined symbol "playerid"
et c'est sa :
SendClientMessage(i, COLOR_GREEN, "|________________ Extrait de Compte ________________|");
format(string, sizeof(string), " Paycheck: $%d Taxe: -$%d", checks, TaxValue);
SendClientMessage(i, COLOR_WHITE, string);
if(PlayerInfo[i][pPhousekey] != 255 || PlayerInfo[i][pPbiskey] != 255)
{
format(string, sizeof(string), " Facture d'Electrécité: -$%d", ebill);
SendClientMessage(i, COLOR_WHITE, string);
}
format(string, sizeof(string), " Argent sur le compte avant paycheck: $%d", account - checks);
SendClientMessage(i, COLOR_WHITE, string);
format(string, sizeof(string), " Interêt: 0.%d pourcent",tmpintrate);
SendClientMessage(i, COLOR_WHITE, string);
format(string, sizeof(string), " Interêt Gagné $%d", interest);
SendClientMessage(i, COLOR_WHITE, string);
format(string, sizeof(string), " Bonus de L'etat de 3500$",tmpintrate);
SendClientMessage(i, COLOR_WHITE, string);
GivePlayerMoney(playerid, 3500);
SendClientMessage(i, COLOR_GREEN, "|----------------------------------------------------|");
toute en bas le giveplayermoney