Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public LoadAtms() {
- new atms = cache_num_rows();
- for(new i = 0; i < atms; i++) {
- new s = i - 1;
- AtmInfo[i][fATMPos][0] = cache_get_field_content_float(s, "atmPosX");
- AtmInfo[i][fATMPos][1] = cache_get_field_content_float(s, "atmPosY");
- AtmInfo[i][fATMPos][2] = cache_get_field_content_float(s, "atmPosZ");
- AtmInfo[i][fATMPosRot][0] = cache_get_field_content_float(s, "atmPosRotX");
- AtmInfo[i][fATMPosRot][1] = cache_get_field_content_float(s, "atmPosRotY");
- AtmInfo[i][fATMPosRot][2] = cache_get_field_content_float(s, "atmPosRotZ");
- 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);
- 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);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement