Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // The colour we need.
- $colour = imagecolorallocate($im, $piece['colour'][0], $piece['colour'][1], $piece['colour'][2]);
- // Output this bit of text.
- imagettftext($im, 20, 0, 400, 60, $colour, $font, $PlayerInfo['Banka']);
- // Get its bounding box.
- $imageBound = fixbbox(imagettfbbox($size, 0, $font, $PlayerInfo['Banka']));
- // The next position.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement