Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock UpdateObjectText(id)
- {
- new objectid = GetObjectID(InGameMatTexd[id][oGrupa]);
- if(objectid == INVALID_OBJECT_ID)
- return printf("Obiekt o identyfikatorze sampID %d (UID: %d) nie zostaล odnaleziony.", objectid, id);
- new color[2];
- sscanf(InGameMatTexd[id][oMatFontcolor], "h", color[0]);
- sscanf(InGameMatTexd[id][oMatBackcolor], "h", color[1]);
- SetDynamicObjectMaterialText(objectid, InGameMatTexd[id][oMatIndex2], InGameMatTexd[id][oMatText], InGameMatTexd[id][oMatSize], InGameMatTexd[id][oMatFontface], InGameMatTexd[id][oMatFontsize], InGameMatTexd[id][oMatBold], color[0], color[1], InGameMatTexd[id][oMatTextalignment]);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement