#1

im geting array from mysql like this:
pawn Код:
mysql_get_field( "uniforma", specofke );
then try to using it like this:
pawn Код:
TextDrawSetPreviewModel( DV8[ playerid ], specofke );
and it gives me error: error 035: argument type mismatch (argument 2)
BTW
pawn Код:
new specofke[ 10 ];
Reply
#2

https://sampwiki.blast.hk/wiki/TextDrawSetPreviewModel

2nd argument: modelindex -> The GTA SA or SA:MP model ID to display.

You use an array which is not correct. Is specofke stores the modelid then use:
pawn Код:
TextDrawSetPreviewModel(DV8[playerid], strval(specofke));
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)