SA-MP Forums Archive
Help me with this error please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help me with this error please (/showthread.php?tid=458752)



Help me with this error please - LuisPark - 18.08.2013

I gotta Player /setboombox
But it have some problem
Can any one help me this

This is error:

C:\Documents and Settings\Administrator\Desktop\Project VN-RP (2)\Project VN-RP\Project VN-RP\gamemodes\vuagame (1).pwn(10513 : error 030: compound statement not closed at the end of file (started at line 105124)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


And this is cmd Set boombox
Код HTML:
CMD:nghenhac(playerid, params[])
{
		{
		new giveplayerid;
        new range;
        if(sscanf(params, "d", range)) {
            SendClientMessageEx(playerid, COLOR_GREY, "SUDUNG: /setboombox [100] Ghi so 100 vao.");
            return 1;
        }

        SetPVarInt(playerid, "aURLrange", range);
        ShowPlayerDialog(playerid, AUDIO_URL, DIALOG_STYLE_INPUT, "Audio URL", "Enter Audio URL", "OK", "Cancel");
        if(range > 100)
        {
        SetTimerEx("KickPlayer",500,false,"i",giveplayerid);
    return 1;
}



Re: Help me with this error please - Ha$H_Sexyboy - 18.08.2013

try this
Код:
CMD:nghenhac(playerid, params[])
{
		{
		new giveplayerid;
        new range;
        if(sscanf(params, "d", range)) {
            SendClientMessageEx(playerid, COLOR_GREY, "SUDUNG: /setboombox [100] Ghi so 100 vao.");
            return 1;
        }

        SetPVarInt(playerid, "aURLrange", range);
        ShowPlayerDialog(playerid, AUDIO_URL, DIALOG_STYLE_INPUT, "Audio URL", "Enter Audio URL", "OK", "Cancel");
        if(range > 100)
        {
        SetTimerEx("KickPlayer",500,false,"i",giveplayerid);
    return 1;
}
      }
         }



Re: Help me with this error please - LuisPark - 18.08.2013

Thanks you man i love you


Re: Help me with this error please - BigBadWolf - 19.08.2013

Ahh so thats how you do it....


Re: Help me with this error please - Ha$H_Sexyboy - 19.08.2013

No Problem


Re: Help me with this error please - BigBadWolf - 19.08.2013

Haha, I needed help with that too! Thanks