Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. public LoadAtms() {
  2. new atms = cache_num_rows();
  3. for(new i = 0; i < atms; i++) {
  4. new s = i - 1;
  5. AtmInfo[i][fATMPos][0] = cache_get_field_content_float(s, "atmPosX");
  6. AtmInfo[i][fATMPos][1] = cache_get_field_content_float(s, "atmPosY");
  7. AtmInfo[i][fATMPos][2] = cache_get_field_content_float(s, "atmPosZ");
  8. AtmInfo[i][fATMPosRot][0] = cache_get_field_content_float(s, "atmPosRotX");
  9. AtmInfo[i][fATMPosRot][1] = cache_get_field_content_float(s, "atmPosRotY");
  10. AtmInfo[i][fATMPosRot][2] = cache_get_field_content_float(s, "atmPosRotZ");
  11. AtmInfo[i][rObjectId] = CreateDynamicObject(2618, AtmInfo[i][fATMPos][0], AtmInfo[i][fATMPos][1], AtmInfo[i][fATMPos][2], AtmInfo[i][fATMPosRot][0], AtmInfo[i][fATMPosRot][1], AtmInfo[i][fATMPosRot][2], -1, -1, -1, 500.0);
  12. AtmInfo[i][fATMText] = Create3DTextLabel("Apasa {FCA800}Y {FFFFFF}pentru a jefui acest ATM", 0xFFFFFFFF, AtmInfo[i][fATMPos][0], AtmInfo[i][fATMPos][1], AtmInfo[i][fATMPos][2]+1, 25.0, 0, 0);
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement