random colors
#1

Help me here please, i want to make a cmd that spawns car with color1 and 2 but at the same time if the person dont put anything on color1 or 2 these colors come randomly and i was getting sscanf error untill now, but now they simply come black, both colors if you can help me i would be really gratefull
PHP код:
    new VeiculoID,Veiculo[25], colour1colour2;
    if(
sscanf(params"s[25]I()I()",Veiculo,colour1,colour2)) SendClientMessage(playeridBranco"Uso: /Car [nome] [cor] [cor2]"); 
Reply
#2

Does the value of
pawn Код:
sscanf(params, "s[25]I(-1)I(-1)");
Not work?
Reply
#3

thank you so much, i've been away from pawn for 3 years, didn't remembered
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)