SetPreviewModel only 1x set, if more, not set
#1

Hi, have this code:
if(selectedgun == 0)
{
PlayerTextDrawSetPreviewModel(playerid, previewobj, 345);
PlayerTextDrawSetString(playerid,gunname,"Rocket") ;
}
else if(selectedgun == 1)
{
PlayerTextDrawSetPreviewModel(playerid, previewobj, 19123);
PlayerTextDrawSetString(playerid,gunname,"MicroJam ");
}

The normal, Preview model is rocket and textdraw string is rocket.. But if change gun to 1, only the text changed... Preview model is still rocket
Reply
#2

You have to reshow the textdraw.
Reply
#3

Quote:
Originally Posted by FUNExtreme
Посмотреть сообщение
You have to reshow the textdraw.
I test it! Thanx bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)