21.03.2017, 11:47
Quote:
A variable holds an integer whatever digits it is that means you have to assign just new wantedmodel . Yes, you can make an array according to your needs.
And the " format " wantedmodel shouldn't be an string it is an integer so wantedmodel = wantedcars[Randompick][0]; |
I'm confused.
pawn Код:
format(wantedmodel,sizeof(wantedmodel),"%d",wantedcars[randompick][0]);
so i changed : on the top ,
pawn Код:
new wantedmodel[3];
pawn Код:
new wantedmodel;
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
yeah,two same errors,same line.