10.05.2018, 08:37
Is there possible to do that player can enter more value but it's not necessarily.
For example if i enter
/veh 411 he will spawn Car ID 411 for me,with 0,0 colors.But if I enter /veh 411 1 1 ,he will give me Car ID 411 ,with 1,1 colors..
When I do this:
He MUST enter 3 variables,but i don't know how to make that he can enter only one variable and it will work.
Thanks
For example if i enter
/veh 411 he will spawn Car ID 411 for me,with 0,0 colors.But if I enter /veh 411 1 1 ,he will give me Car ID 411 ,with 1,1 colors..
When I do this:
Код:
if(sscanf(params, "iii", veh, col1,col2))
Thanks