Using InputText Type of Dialogs
#1

pawn Код:
case DIALOG_AGUN:
        {
            if ( !response ) return SendClientMessage(playerid,COLOR_RED,"Admin Weapon Selection Canceled");
            if( response )
            {

                new WeaponID = (inputtext);
                GivePlayerWeapon(playerid,WeaponID,999999);
                return 1;
            }
        }
    }
    return 1;
}
Receiving This Error:

pawn Код:
C:\Users\Chris\Desktop\Server\gamemodes\Gangwar.pwn(1764) : error 033: array must be indexed (variable "-unknown-")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Using InputText Type of Dialogs - by Shockey HD - 01.12.2011, 05:43
Re: Using InputText Type of Dialogs - by PrawkC - 01.12.2011, 05:47

Forum Jump:


Users browsing this thread: 1 Guest(s)