equal
deleted
inserted
replaced
279 |
279 |
280 end |
280 end |
281 |
281 |
282 function DrawTag(i) |
282 function DrawTag(i) |
283 |
283 |
284 zoomL = 1.3 |
284 local zoomL = 1.3 |
285 |
285 |
286 xOffset = 40 |
286 local xOffset, yOffset, tValue, tCol |
287 |
287 |
288 if i == 0 then |
288 if i == 0 then |
289 yOffset = 40 |
289 if INTERFACE == "touch" then |
|
290 xOffset = 60 |
|
291 yOffset = ScreenHeight - 35 |
|
292 else |
|
293 xOffset = 40 |
|
294 yOffset = 40 |
|
295 end |
290 tCol = 0xffee00ff |
296 tCol = 0xffee00ff |
291 tValue = TimeLeft |
297 tValue = TimeLeft |
292 elseif i == 1 then |
298 elseif i == 1 then |
293 zoomL = 1.1 |
299 zoomL = 1.1 |
294 yOffset = 70 |
300 if INTERFACE == "touch" then |
|
301 xOffset = 126 |
|
302 yOffset = ScreenHeight - 37 |
|
303 else |
|
304 xOffset = 40 |
|
305 yOffset = 70 |
|
306 end |
295 tCol = wepCol[0] |
307 tCol = wepCol[0] |
296 tValue = wepAmmo[0] |
308 tValue = wepAmmo[0] |
297 elseif i == 2 then |
309 elseif i == 2 then |
298 zoomL = 1.1 |
310 zoomL = 1.1 |
299 xOffset = 40 + 35 |
311 if INTERFACE == "touch" then |
300 yOffset = 70 |
312 xOffset = 126 + 35 |
|
313 yOffset = ScreenHeight - 37 |
|
314 else |
|
315 xOffset = 40 + 35 |
|
316 yOffset = 70 |
|
317 end |
301 tCol = wepCol[1] |
318 tCol = wepCol[1] |
302 tValue = wepAmmo[1] |
319 tValue = wepAmmo[1] |
303 elseif i == 3 then |
320 elseif i == 3 then |
304 zoomL = 1.1 |
321 zoomL = 1.1 |
305 xOffset = 40 + 70 |
322 if INTERFACE == "touch" then |
306 yOffset = 70 |
323 xOffset = 126 + 70 |
|
324 yOffset = ScreenHeight - 37 |
|
325 else |
|
326 xOffset = 40 + 70 |
|
327 yOffset = 70 |
|
328 end |
307 tCol = wepCol[2] |
329 tCol = wepCol[2] |
308 tValue = wepAmmo[2] |
330 tValue = wepAmmo[2] |
309 end |
331 end |
310 |
332 |
311 DeleteVisualGear(vTag[i]) |
333 DeleteVisualGear(vTag[i]) |