Help me with this error please
#1

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;
}
Reply
#2

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;
}
      }
         }
Reply
#3

Thanks you man i love you
Reply
#4

Ahh so thats how you do it....
Reply
#5

No Problem
Reply
#6

Haha, I needed help with that too! Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)