Szerző Téma: Not closed (pedig megvan)  (Megtekintve 443 alkalommal)

Not closed (pedig megvan)
« Dátum: 2012. Március 21. - 19:40:07 »
0 Show voters
Sziasztok unalmamban elkezdtem csinálni egy Fegyver lekérõ Scriptet és Épp Tesztelni akartam mikor bejött ez az error.
 
D:\\ßa£uYamy\\UWMOD 0.3d-re\\pawno\\teszt.pwn(46) : error 030: compound statement not closed at the end of file (started at line 25)
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
1 Error.

 
Itt a DialogResponse rész hiába Lezártam a script végét... :S
 
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOGID)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, \"Válassz Vegyvertipust\", \"{33aa33}Combat Shotgun           {00ff00}1600$\", \"Kiválasztás\", \"Mégse\");
}
 
if(dialogid == DIALOGID+1)
{
if(response)
{
if(listitem == 0)
{
GivePlayerWeapon(playerid, 27, 23);
}
}
}
return 1;
}

 
Akárhogy, Hiába Próbáltam a visszatérés értékét \"0\"-ra igy is próbáltam
 
return 1;
}
return 0;
}

 
De semmi  Várom a válaszokat!
Megoldottam!!  Zárok
« Utoljára szerkesztve: 2012. Március 21. - 19:45:41 írta Szabyxxx »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal