[Pomoc] Errori u komandi!

Započeo BIRSAâ„¢, April 03, 2012, 18:46:50 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:CM
Detaljan opis problema: Pa imam problem u komandi i nemogu nikako da ga rijesim...Dat cu vam linije errora i errore...

Dio Skripte: if (strcmp("/buypc", cmdtext, true, 10) == 0)
{
    if(GetPlayerMoney(playerid) < 6000)
        return SendClientMessage(playerid, 0xAFAFAFAA,"Nemas toliko para");

        new email[32];
    format(email,32,Local,Player(playerid));

    if(dini_Exists(email))
return SendClientMessage(playerid, 0xAFAFAFAA,"Vec imas kompjuter");

    dini_Create(email);

    for(new i=0;i<sizeof(Emails);i++)
           dini_Set(email,Emails[i],"Prazno");

GameTextForPlayer(playerid, "Cost : $52.000", 5000, 1);
GivePlayerMoney(playerid, -1);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xAFAFAFAA, "Sad mozes koristiti /posaljimail.");

return 1;
}


Errori:
C:\Users\PATO\Desktop\**********\gamemodes\lcrp.pwn(27183) : error 035: argument type mismatch (argument 3)
C:\Users\PATO\Desktop\**********\gamemodes\lcrp.pwn(27191) : error 028: invalid subscript (not an array or too many subscripts): "Emails"
C:\Users\PATOc\Desktop\*********\gamemodes\lcrp.pwn(27191) : error 017: undefined symbol "i"
C:\Users\PATO\Desktop\**********\gamemodes\lcrp.pwn(27191) : error 029: invalid expression, assumed zero
C:\Users\PATO\Desktop\**********\gamemodes\lcrp.pwn(27191) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.