04.07.2014, 18:33
Hey,
I trying to make simple Create3DTextLabel update system. If you are drug dealer (IG) you can see that the storage is open, but if not it's close. My problem is that the when you get this job this text change it's still closed.
I hope someone could help me out. Regards, Sturra.
I trying to make simple Create3DTextLabel update system. If you are drug dealer (IG) you can see that the storage is open, but if not it's close. My problem is that the when you get this job this text change it's still closed.
Код:
else if (GetPlayerState(i) == 1 && PlayerToPoint(1.0, i,207.8063,-61.6892,1.9766)) { if(PlayerInfo[i][pJob] == 4) { Update3DTextLabelText(laotekst, COLOR_RED, "{FF9900}Blueberry storage\n{339933}Open"); } else { laotekst = Create3DTextLabel("{CC0000}Blueberry storage\n{CC0000}Closed",COLOR_RED,207.8063,-61.6892,1.9766,25.0,0); } }