[pomoc] Oko veoma jednostavne skripte

Započeo McAfee, Februar 02, 2011, 20:10:57 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Ovako hocu da kad neki igrac kuca /organizacije njemu izadju organizacije i stavio sam ovako

if (strcmp(cmd, "/organizacije", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    SendClientMessage(playerid, COLOR_GRAD1," 1: Policija"; }
SendClientMessage(playerid, COLOR_GRAD1," 2: FBI"; }
SendClientMessage(playerid, COLOR_GRAD2," 3: SWAT"; }
SendClientMessage(playerid, COLOR_GRAD2," 4: Bolnicar"; }
SendClientMessage(playerid, COLOR_GRAD3," 5: Surenos"; }
  SendClientMessage(playerid, COLOR_GRAD3," 6: LFS"; }
SendClientMessage(playerid, COLOR_GRAD4," 7: Predsednik"; }
SendClientMessage(playerid, COLOR_GRAD1," 8: Hitmen"; }
SendClientMessage(playerid, COLOR_GRAD1," 9: Novinar"; }
SendClientMessage(playerid, COLOR_GRAD2," 10: Taxi"; }
SendClientMessage(playerid, COLOR_GRAD2," 14: Yamaguchi"; }
SendClientMessage(playerid, COLOR_GRAD3," 15: 47th Street Saints"; }
  SendClientMessage(playerid, COLOR_GRAD3," 16: East Beach Bloods"; }

return 1;
}

Ali kad krenem da kompiliram nece da se kimpilira samo mi ukoci i nemrda se... Ne izbacuje mi ni da je kompilirano ni da imam error nista...
Moze mi neko pomoci i reci u cemu gresim
~~~ProSolution Roleplay Samp Server
ProSolution RolePlay Nas ip je: 193.192.59.107:7783

~~~ProSolution TeamSpeak 3~~~
iNfamous Team Speak 3 Server...  64.31.59.188:9999

~~~ProSolution Roleplay Forum
ProSolution RolePlay Nas forum je:

ZicMortal

if (strcmp(cmd, "/organizacije", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    SendClientMessage(playerid, COLOR_GRAD1," 1: Policija"; }
SendClientMessage(playerid, COLOR_GRAD1," 2: FBI"; }
SendClientMessage(playerid, COLOR_GRAD2," 3: SWAT"; }
SendClientMessage(playerid, COLOR_GRAD2," 4: Bolnicar"; }
SendClientMessage(playerid, COLOR_GRAD3," 5: Surenos"; }
  SendClientMessage(playerid, COLOR_GRAD3," 6: LFS"; }
SendClientMessage(playerid, COLOR_GRAD4," 7: Predsednik"; }
SendClientMessage(playerid, COLOR_GRAD1," 8: Hitmen"; }
SendClientMessage(playerid, COLOR_GRAD1," 9: Novinar"; }
SendClientMessage(playerid, COLOR_GRAD2," 10: Taxi"; }
SendClientMessage(playerid, COLOR_GRAD2," 14: Yamaguchi"; }
SendClientMessage(playerid, COLOR_GRAD3," 15: 47th Street Saints"; }
  SendClientMessage(playerid, COLOR_GRAD3," 16: East Beach Bloods"; }
}
return 1;
}

Citat: FilipV poslato Februar 02, 2011, 20:10:57 POSLE PODNE
Ovako hocu da kad neki igrac kuca /organizacije njemu izadju organizacije i stavio sam ovako

if (strcmp(cmd, "/organizacije", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    SendClientMessage(playerid, COLOR_GRAD1," 1: Policija"; }
SendClientMessage(playerid, COLOR_GRAD1," 2: FBI"; }
SendClientMessage(playerid, COLOR_GRAD2," 3: SWAT"; }
SendClientMessage(playerid, COLOR_GRAD2," 4: Bolnicar"; }
SendClientMessage(playerid, COLOR_GRAD3," 5: Surenos"; }
  SendClientMessage(playerid, COLOR_GRAD3," 6: LFS"; }
SendClientMessage(playerid, COLOR_GRAD4," 7: Predsednik"; }
SendClientMessage(playerid, COLOR_GRAD1," 8: Hitmen"; }
SendClientMessage(playerid, COLOR_GRAD1," 9: Novinar"; }
SendClientMessage(playerid, COLOR_GRAD2," 10: Taxi"; }
SendClientMessage(playerid, COLOR_GRAD2," 14: Yamaguchi"; }
SendClientMessage(playerid, COLOR_GRAD3," 15: 47th Street Saints"; }
  SendClientMessage(playerid, COLOR_GRAD3," 16: East Beach Bloods"; }

return 1;
}

Ali kad krenem da kompiliram nece da se kimpilira samo mi ukoci i nemrda se... Ne izbacuje mi ni da je kompilirano ni da imam error nista...
Moze mi neko pomoci i reci u cemu gresim
Zapamti sada ovo:
BROJ OTVORENIH  I ZATVORENIH ZAGRADA TREBA BITI JEDNAK!!!

Evo ti u dialogu :) bilo mi dosadno i morao sam da napravim :D
[code] if(strcmp(cmd, "/pravila", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
            ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX, "Organizacije", "Policija\nFBI\nSWAT\nBolnicar\nSurenos\nLFS\nPredsednik\nHitmen\nNovinar\nTaxi\nYamaguchi\n47th Street Saints\nEast Beach Bloods", "Uredu", "Uredu");
}
return 1;
}
[/code]

Hvala svima ipak sam ja samo pocetnik :D
~~~ProSolution Roleplay Samp Server
ProSolution RolePlay Nas ip je: 193.192.59.107:7783

~~~ProSolution TeamSpeak 3~~~
iNfamous Team Speak 3 Server...  64.31.59.188:9999

~~~ProSolution Roleplay Forum
ProSolution RolePlay Nas forum je: