08.06.2014, 18:44
well i made an input dialog,but i got a problem.
What i want to do is,i want to link the inputtext with playerids.
i know how to do it for a definite number of floats with sscanf.
But if i type in the input dialog box "15 20 12 8",i want to do some functions on those players with those ids.
not just 4,i want it to have no limit,i must be able to type 1 id or 100 ids,but still it should still have effect on every id i typed.
(sorry im really confused,so i cannot type in proper english right now)
What i want to do is,i want to link the inputtext with playerids.
i know how to do it for a definite number of floats with sscanf.
But if i type in the input dialog box "15 20 12 8",i want to do some functions on those players with those ids.
not just 4,i want it to have no limit,i must be able to type 1 id or 100 ids,but still it should still have effect on every id i typed.
(sorry im really confused,so i cannot type in proper english right now)