[Pomoc] Errori

Započeo sanel, Maj 13, 2014, 01:56:59 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Balkan Extazy Mod 2.5.0.0 by Lukenzi
Detaljan opis problema:Kada hocu compile popravio sam neke errore sada mi iskacu ovi
Dio skripte:Prvi error na ovoj liniji
forward OnPlayerLogin(playerid,password[]);
Drugi error ova linija
public OnPlayerLogin(playerid,password[])
{
   new tmp2[256];
    new string2[64];
   new playername2[MAX_PLAYER_NAME];
   new playernamesplit[3][MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
   split(playername2, playernamesplit, '_');
   format(string2, sizeof(string2), "users/%s.ini", playername2);
   new File: UserFile = fopen(string2, io_read);
   if ( UserFile )
   {
       new PassData[256];
       new keytmp[256], valtmp[256];
       fread( UserFile, PassData, sizeof( PassData ) );
       keytmp = ini_GetKey( PassData );
       if( strcmp( keytmp, "Key", true ) == 0 )
      {
         valtmp = ini_GetValue( PassData );
         strmid(PI[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255);
      }
      if( strcmp( keytmp, "Email", true ) == 0 )
      {
         valtmp = ini_GetValue( PassData );
         strmid(PI[playerid][pEmail], valtmp, 0, strlen(valtmp)-1, 255);
      }
      if(strcmp(PI[playerid][pKey],password, true ) == 0 )
      {
             new key[ 256 ], val[ 256 ], email[ 256 ];
             new Data[ 256 ];
             while ( fread( UserFile, Data, sizeof( Data ) ) )
            {
               key = ini_GetKey( Data );
               email = ini_GetKey( Data );
Treci error ova linija
            OnPlayerLogin(playerid,tmppass);
         }
         else
         {
             new imebre[64];
         GetPlayerName(playerid,imebre,sizeof(imebre));
         strreplace(imebre, '_', ' ');
            new loginstring[1024];
            new loginname[64];
            GetPlayerName(playerid,loginname,sizeof(loginname));
         format(loginstring,sizeof(loginstring),"{FFFF00}=====================================|\n{0000FF}Dobrodosli na {FFFF00} server uklonjen! YP\n{FFFFFF}IP adresa TeamSpeak-a {FFFF00} 91.193.75.66:9988\n{FF0000}Adresa foruma {FFFF00}www.balkan-extazy.net\n{FFFF00}=====================================|");
         ShowPlayerDialog(playerid,12346667,DIALOG_STYLE_PASSWORD,"{FFFF00}Login",loginstring,"Login","Exit");
            gPlayerLogTries[playerid] += 1;
            JBC_SetPlayerPos( playerid, 1378.0096,-913.6568,65.9932 );
                SetPlayerCameraPos( playerid, 1394.1369, -906.3903, 62.5692 );
                SetPlayerCameraLookAt( playerid, 1397.3092, -897.1775, 64.8187 );
            if(gPlayerLogTries[playerid] == 5) { Kick(playerid); }
         }
      }
         }
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Ko zna neka pomogne hitno je Hvala unaprijed :D