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


Messages In This Thread
SetPreviewModel only 1x set, if more, not set - by gamelaster - 21.01.2013, 18:49
Re: SetPreviewModel only 1x set, if more, not set - by FUNExtreme - 21.01.2013, 18:51
Re: SetPreviewModel only 1x set, if more, not set - by gamelaster - 23.01.2013, 17:32

Forum Jump:


Users browsing this thread: 3 Guest(s)