HI,
First of all i had searched "simple code" for 1 hours.
but i can't find it
so i write this Thread
Quote:
new random = random_num(0,100)
switch(random)
{
case 1 : set_pev(id,pev_viewmodel,"models/v_knife.mdl")
.....
case 100 : set_pev(id,pev_viewmodel,"models/custom/v_custom.mdl")
}
|
Quote is example
if number(case number) is 1 2 3 ~ 97 98 100,
Should i write such like QUOTE?
if the answer is no, Would you tell me the Way?
-----------------------------------------------------------------------
i'm non english culture
i'm Asian