[Pomoc] Radio

Započeo Richyâ„¢, Avgust 05, 2012, 22:41:10 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

C:\Documents and Settings\Dell  6400\Desktop\Northern Lights RPG Mod!\gamemodes\NLRPGv2.pwn(81305) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Dell  6400\Desktop\Northern Lights RPG Mod!\gamemodes\NLRPGv2.pwn(81305) : warning 215: expression has no effect
C:\Documents and Settings\Dell  6400\Desktop\Northern Lights RPG Mod!\gamemodes\NLRPGv2.pwn(81305) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Dell  6400\Desktop\Northern Lights RPG Mod!\gamemodes\NLRPGv2.pwn(81305) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Dell  6400\Desktop\Northern Lights RPG Mod!\gamemodes\NLRPGv2.pwn(81305) : fatal error 107: too many error messages on one line

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


4 Errors.


evo citava komanda :
CMD:music(playerid,params[]) {
new izbor[10], item, Float:X, Float:Y, Float:Z;
    if(PlayerInfo[playerid][pCDPlayer] == true) {
        if (sscanf(params, "s[10] ", izbor)) {
        SendClientMessage(playerid, COLOR_WHITE, "|__________________ Glazba __________________|");
SendClientMessage(playerid, COLOR_WHITE, "KORISTENJE: /music [name]");
  SendClientMessage(playerid, COLOR_GREY, "Opcije: Put, Take, Play, Stop, Stations");
SendClientMessage(playerid, COLOR_WHITE, "|___________________________________________|");
        return 1;
    }
    if(strcmp(izbor,"put",true) == 0) {
        if(RadioInfo[playerid][rPlaced] == true) return SendClientMessage(playerid, COLOR_RED, "Kazetofon je vec postavljen");
        GetPlayerPos(playerid, X, Y, Z);
    RadioInfo[playerid][rPlaced] = true;
    RadioInfo[playerid][Radio][0] = X;
RadioInfo[playerid][Radio][1] = Y;
RadioInfo[playerid][Radio][2] = Z;
RadioInfo[playerid][rObject] = CreateDynamicObject(2226, X, Y, Z-1, 4, 0, 152.66040039063, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid), -1, 200.0);
format(globalstring, sizeof(globalstring), "* %s stavlja kazetofon na pod", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
  else if(strcmp(izbor,"take",true) == 0) {
      if(RadioInfo[playerid][rPlaced] != true) return SendClientMessage(playerid, COLOR_RED, "Kazetofon nije postavljen");
      if(!IsPlayerInRangeOfPoint(playerid, 5, RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2])) return SendClientMessage(playerid, COLOR_RED, "Niste blizu postavljenog kazetofona");
    RadioInfo[playerid][rPlaced] = false;
    DestroyDynamicObject(RadioInfo[playerid][rObject]);
    format(globalstring, sizeof(globalstring), "* %s uzima kazetofon s poda i stavlja ga pod ruku", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
if(RadioInfo[playerid][rPlay] == 1)
{
    RadioInfo[playerid][rPlay] = 0;
                foreach(Player, id)
{
    if(!Audio_IsClientConnected(id)) continue;
          Audio_Stop(id, RadioInfo[playerid][rHandleID]);
          Audio_Remove3DPosition(id, RadioInfo[playerid][rHandleID]);
      }
}
}
else if(strcmp(izbor,"play",true) == 0) {
      if(RadioInfo[playerid][rPlaced] != true) return SendClientMessage(playerid, COLOR_RED, "Kazetofon nije postavljen");
      if(RadioInfo[playerid][rPlay] != 0) return SendClientMessage(playerid, COLOR_RED, "Prvo morate ugasiti kazetofon!");
      if(!IsPlayerInRangeOfPoint(playerid, 5, RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2])) return SendClientMessage(playerid, COLOR_RED, "Niste blizu postavljenog kazetofona");
            if (sscanf(params, "s[10]i", izbor, item)) return SendClientMessage(playerid, COLOR_WHITE, "KORISTENJE: /music play [1-20]");
if(item < 1 || item > 20) return SendClientMessage(playerid, COLOR_RED, "Broj stanice ne moze biti manji od 1 i veci od 20!");
    if(item == 1) {
        format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=334445", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 2) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1002422", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 3) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=83571", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 4) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=219715", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 5) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1504548", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 6) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1281016", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 7) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=199616", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 8) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=98355", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 9) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=21585", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 10) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1282229", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 11) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=625229", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 12) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=144570", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 13) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=496891", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 14) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=883729", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 15) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=2314870", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 16) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=695657", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 17) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1377200", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 18) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1275319", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 19) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1177953", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
    else if(item == 20) {
                format(globalstring, sizeof(globalstring), "* %s pali kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 1;
foreach(Player, id)
    {
        if(!Audio_IsClientConnected(id)) continue;
          RadioInfo[playerid][rHandleID] = Audio_PlayStreamed(id, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1283687", false, false, false);
          Audio_Set3DPosition(id, RadioInfo[playerid][rHandleID], RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2], 30.0);
      }
    }
}
else if(strcmp(izbor,"stations",true) == 0) {
            SendClientMessage(playerid, COLOR_LIGHTBLUE, "[____________________Radio Stanice____________________]");
            SendClientMessage(playerid, COLOR_WHITE, "1: Playlist DeDi | 2: GotRadio - Old School");
            SendClientMessage(playerid, COLOR_WHITE, "3: Coast to Coast FM | 4: NonStop Rap Radio");
            SendClientMessage(playerid, COLOR_WHITE, "5: G'D UP RADIO | 6: HOT 108 JAMZ");
            SendClientMessage(playerid, COLOR_WHITE, "7: DEFJAY.DE | 8: 181.fm - The Eagle");
            SendClientMessage(playerid, COLOR_WHITE, "9: idobi Radio | 10: pop-stream.de");
            SendClientMessage(playerid, COLOR_WHITE, "11: Hard Rock Radio Live | 12: 80s 90s heavy metal hair arena rock");
            SendClientMessage(playerid, COLOR_WHITE, "13: Absolutely Smooth Jazz | 14: Pink Narodna Muzika");
            SendClientMessage(playerid, COLOR_WHITE, "15: Pingvin Radio | 16: Roots Reggae - SKY.FM");
            SendClientMessage(playerid, COLOR_WHITE, "17: TechnoBase.FM | 18: #MUSIK.CLUB");
            SendClientMessage(playerid, COLOR_WHITE, "19: Vocal Trance | 20: 181.FM - Kickin' Country");
}
else if(strcmp(izbor,"stop",true) == 0) {
      if(RadioInfo[playerid][rPlaced] != true) return SendClientMessage(playerid, COLOR_RED, "Kazetofon nije postavljen");
      if(RadioInfo[playerid][rPlay] != 1) return SendClientMessage(playerid, COLOR_RED, "Kazetofon nije upaljen!");
      if(!IsPlayerInRangeOfPoint(playerid, 5, RadioInfo[playerid][Radio][0], RadioInfo[playerid][Radio][1], RadioInfo[playerid][Radio][2])) return SendClientMessage(playerid, COLOR_RED, "Niste blizu postavljenog kazetofona");
    format(globalstring, sizeof(globalstring), "* %s gasi kazetofon.", PlayerInfo[playerid][pDisplayName]);
ProxDetector(15.0, playerid, globalstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RadioInfo[playerid][rPlay] = 0;
foreach(Player, id)
{
    if(!Audio_IsClientConnected(id)) continue;
          Audio_Stop(id, RadioInfo[playerid][rHandleID]);
          Audio_Remove3DPosition(id, RadioInfo[playerid][rHandleID]);
      }
} else SendClientMessage(playerid, COLOR_RED, "   Nepoznata akcija za music player !");
    } else SendClientMessage(playerid,COLOR_RED,"GRESKA: Nemas Kazetofon!");
    return 1;
}

Capetroon.


eto
   if(PlayerInfo[playerid][pCDPlayer] == true) {

Capetroon.

Pokušaj da ovu ivičastu zagradu samo prebaciš dole, ali nemoj da bude na početku reda nego ispod. :)

Nemas definiran PlayerInfo, u NL-u je PI pa dodaj u taj PI, pCDPlayer

znaci CTRL + F:

PI --> dodaj pCDPlayer,

@Offtopic: Ako ce te takve greske zezat ostavi se NL-a..
Poslednja Izmena: Avgust 06, 2012, 02:17:15 PRE PODNE od !вυ!ѕєуzιι¢н™.amx
Izrada web aplikacija/desktop aplikacija, kontakt PM.
VPS/Dedi managment 'n' hosting @pm also.