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