SHARE
TWEET

[pawno.pl] -> #25820

KaLu17 May 2nd, 2014 202 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. stock UpdateObjectText(id)
  2. {
  3.         new objectid = GetObjectID(InGameMatTexd[id][oGrupa]);
  4.  
  5.         if(objectid == INVALID_OBJECT_ID)
  6.                 return printf("Obiekt o identyfikatorze sampID %d (UID: %d) nie został odnaleziony.", objectid, id);
  7.  
  8.         new color[2];
  9.         sscanf(InGameMatTexd[id][oMatFontcolor], "h", color[0]);
  10.         sscanf(InGameMatTexd[id][oMatBackcolor], "h", color[1]);
  11.         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]);
  12.         return 1;
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top