Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1.  
  2. /*
  3. por: Icaruk
  4. call ica_fnc_sync;
  5. */
  6.  
  7. if (isNil {yaHeSincronizado}) then {
  8. //hint "Sincronizando... deberías esperar 10 segundos.";
  9.  
  10. switch (typeName life_fnc_MP_packet) do {
  11. case "ARRAY": {
  12. if (count life_fnc_MP_packet == 0) exitWith {_exit = true};
  13. };
  14. default {_exit = true};
  15. };
  16. if (!isNil "_exit") exitWith {hint localize "STR_Session_SyncCheater"};
  17. [] call SOCK_fnc_updateRequest;
  18. // [22] call SOCK_fnc_updatePartial; // exp
  19. [true] call ica_fnc_guardaCargaMed; // guardar variables medicaruk
  20. [true] spawn ica_fnc_posicion;
  21. profilenamespace setvariable ["rutome",0];
  22.  
  23. 0 spawn {
  24. yaHeSincronizado = true;
  25. sleep 120;
  26. yaHesincronizado = nil;
  27. };
  28. } else {
  29. //hint "Sólo puedes sincronizar cada 2 minutos.";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement