06.03.2011, 16:13
pawn Код:
new nomdelarme[32];
if(dialogid == DialogIDArmurerie)
{
if(response)
{
switch( listitem )
{
case 0:
{
if(MatHQ >= 400) //Ak47
{
GetWeaponName(30, nomdelarme, sizeof(nomdelarme));
HistoInfo[HistoArme] = nomdelarme;
HistoInfo[HistoNom] = sendername;
sauverhisto();
GivePlayerWeapon(playerid,30,200);
MatHQ = MatHQ-400;
}
Код:
C:\Documents and Settings\HP_Propriйtaire\Bureau\GTASERVER\Nouveau dossier (2)\Zombie 0.3c FF\gamemodes\zm.pwn(2245) : error 047: array sizes do not match, or destination array is too small C:\Documents and Settings\HP_Propriйtaire\Bureau\GTASERVER\Nouveau dossier (2)\Zombie 0.3c FF\gamemodes\zm.pwn(2246) : error 047: array sizes do not match, or destination array is too small Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
and i would assign the value HistoInfo[HistoNom] to a sender name.
But when i compile it, it doesn't work.
Can you help me please? thanks