[pomoc] login hitno

Započeo Dodo_Shadow, Maj 16, 2012, 07:26:23 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Clrp v3
Detaljan opis problema:ima ko ideju kako da ubacim pjesmu dok se on registruje ili dok se loginuje
Neke slike/video za lakse dobivanje pomoci(neobavezno):/
dio skripte:
Citatif (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1 && IsPlayerNPC(playerid) !=1)
   {
      ClearChatbox(playerid, 10);
      if (gPlayerAccount[playerid] != 0)
      {
         new loginstring[512];
         new loginname[64];
         GetPlayerName(playerid,loginname,sizeof(loginname));
         format(loginstring,sizeof(loginstring),"{00C0FF}______________________________________________\n\n{FFFFFF}Dobrodosao na City Life RolePlay Server\n\n{00C0FF}%s\n\n{FFFFFF}Tvoj korisnicki racun je pronadjen!\n\nMolimo upisi svoju lozinku da udjes na server:\n{00C0FF}______________________________________________",loginname);
         ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"{FFFFFF}Logiranje",loginstring,"Logiraj","Odustani");
      }
      else
      {
         gPlayerAccount[playerid] = 0;
         new regstring[512];
         new regname[64];
         GetPlayerName(playerid,regname,sizeof(regname));
            format(regstring,sizeof(regstring),"{FFFFFF}Dobrodosli na City Life RolePlay\n{00C0FF}%s\n{FFFFFF}Vas racun nije registrovan,molimo upisite zeljenu lozinku:",regname);
         ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"{00C0FF}Registracija",regstring,"Registruj","Odustani");
      }
      PlayerInfo[playerid][pModel] = Peds[classid][0];
      SetPlayerTeamFromClass(playerid,classid);
   }
   else SpawnPlayer(playerid);
   return false;
}

public SetPlayerTeamFromClass(playerid,classid)
{
   if (classid >= 1 && classid <= 14)
   {
      gTeam[playerid] = 11; //
      PlayerInfo[playerid][pTeam] = 11;
   }
   else
   {
       gTeam[playerid] = 3;
       PlayerInfo[playerid][pTeam] = 3;
   }
}

CTRL+F i traži ovo:
if(PlayerInfo[playerid][pTut] == 0)

I tu prije SetPlayerPos i CameraPos staviš ovo, evo ova svira kod mene.

PlayAudioStreamForPlayer(playerid, "http://www.lucz.com/semmicico/SETLIST_OLD/RHCP%20-%20Suck%20my%20Kiss.mp3");