Szerző Téma: zene Conectn-nél  (Megtekintve 351 alkalommal)

Dj.BL3ND

  • Vendég
zene Conectn-nél
« Dátum: 2012. Február 24. - 10:37:13 »
0 Show voters
hello all
ha egy zenét igy rakok be az onplayerconnect-hez akkor jo lesz?
OnPlayerConnect:
[pawn]public OnPlayerConnect(playerid)
{
    new szin = random(sizeof(PlayerColors));
    SetPlayerColor(playerid, PlayerColors[szin]);
playerek++;
new pname[MAX_PLAYER_NAME], string[500 + MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), \"%s(%d) {FFFF00}Csatlakozott a Szerverhez!! {FF0000}Online: {33CCFF}[ {00FF00}%d/30 {33CCFF}]\", pname,playerid ,playerek);
    SendClientMessageToAll(GetPlayerColor(playerid),string);
    Audio stream: https://sites.google.com/site/120140wses/music/LittleBadGirl%28OfficialLyricVideo%29.mp3
//Text---------
opvar++;
    TextDrawShowForPlayer(playerid, playerz);
    format(string, 500, \"%i/30\", opvar);
    TextDrawSetString(playerz, string);
    TextDrawShowForAll(Textdraw0);
    TextDrawShowForAll(Textdraw1);
    TextDrawShowForAll(Textdraw2);
    TextDrawShowForAll(Date);
    TextDrawShowForAll(Time);
//Message------
SendClientMessage(playerid, 0xFFFF00AA,\"{FF0000}============{FFFFFF}============{00FF00}============\");
    SendClientMessage(playerid, 0xFFFF00AA,\"{00FFFF}Segítség: {FFFF99}/help {00FFFF}A szerver szabályzata: {FFFF99}/rules\");
SendClientMessage(playerid, 0xFFFF00AA,\"{00FFFF}Parancsok: {FFFF99}/cmds {00FFFF}Teleportok: {FFFF99}/teles\");
    SendClientMessage(playerid, 0xFFFF00AA,\"{FF0000}============{FFFFFF}============{00FF00}============\");
//---Dm-id
dmid[playerid] = -1;
return 1;
}[/pawn]
Error + Warning:
[pawn]C:\\Documents and Settings\\Dj\\Asztal\\World\'s Best Co.oL Party\\gamemodes\\djgm.pwn(1286) : error 017: undefined symbol \"Audio\"
C:\\Documents and Settings\\Dj\\Asztal\\World\'s Best Co.oL Party\\gamemodes\\djgm.pwn(1286) : warning 203: symbol is never used: \"https\"
C:\\Documents and Settings\\Dj\\Asztal\\World\'s Best Co.oL Party\\gamemodes\\djgm.pwn(1286) : warning 203: symbol is never used: \"stream\"[/pawn]
Elõre is köszi

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
zene Conectn-nél
« Válasz #1 Dátum: 2012. Február 24. - 10:52:31 »
0 Show voters

Dj.BL3ND

  • Vendég
zene Conectn-nél
« Válasz #2 Dátum: 2012. Február 24. - 11:08:26 »
0 Show voters
most ezt irta ki
[pawn]C:\\Documents and Settings\\Dj\\Asztal\\World\'s Best Co.oL Party\\gamemodes\\djgm.pwn(1303) : error 017: undefined symbol \"PlayAudioStreamForPlayer\"[/pawn]

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
zene Conectn-nél
« Válasz #3 Dátum: 2012. Február 24. - 11:15:38 »
0 Show voters
0.3d pawno-val fordítsd át.
Ha az van
akkor  a 0.3d-s inc-ket  ragd át a szervered pawno--> include mappájába

Dj.BL3ND

  • Vendég
zene Conectn-nél
« Válasz #4 Dátum: 2012. Február 24. - 11:16:36 »
0 Show voters
meg vna köszi témát zárom

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal