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
#2

SHOCKEY BUDDY!

jk.. were not buddies, but just saw this thread despite the fact I havnt posted in ages to say ahhaha..

strval(inputext)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)