DIALOG STYLE INPUT -- Need some help with this!
#1

When a player types in 10, he loses 10 scorepoints and gets 5000 bucks. But how to change this thing, that he only could type in numbers? When he types in asdasd, it may get buggy..
Reply
#2

Not Sure but i think u need to update your PluGin.
Reply
#3

under on dialog response
pawn Код:
if(!isNumeric(inputtext)) return SendClientMessage(playerid,0xFF0000FF,"You can type only numbers!");
isNumeric is included in dudb or dutils, not sure is it even in any of these. But you can make your own if you want.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)