28.12.2013, 23:52
hi,
if i have smth like this:
How can i check if a number is included in this function?
E.g. when a player types in a number in a command and then when the typed in number is uncluded in this
collection i posted above it will say: Right number! other wise return wrong.
How can i do this?
I dont want u to script this command for me, just dont know how to check if the entered number is in the number pool.
thanks
if i have smth like this:
pawn Код:
new const NUMBERS[4][1] =
{
{0},{3},{4},{12}
};
E.g. when a player types in a number in a command and then when the typed in number is uncluded in this
collection i posted above it will say: Right number! other wise return wrong.
How can i do this?
I dont want u to script this command for me, just dont know how to check if the entered number is in the number pool.
thanks
