You are not logged in.

  • Login

[ArmA 3 Altis Life v3.1.4.8 (extDB)] [Altis Life 4.3] Polizei Skins

Bitte besucht unser neues Forum unter https://forum.nitrado.net | Please visit our new Forum at https://forum.nitrado.net

Dear visitor, welcome to Nitrado.net Prepaid Gameserver Community-Support - Archiv. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Hybridretros

User / Kunde

  • "Hybridretros" started this thread

Posts: 14

  • Send private message

1

Thursday, May 19th 2016, 9:36am

[Altis Life 4.3] Polizei Skins

Hallo Nitrado,

und zwar habe ich momentan Massig Probleme, und zwar habe ich diesen Code bei
der fn_initCop.sqf. Ich habe 7 Polizei Ränke.

Ich benutze einen Rootserver.

Ich bedanke mich im Voraus

ALTIS LIFE VERSION 4.3


  1. #include <macro.h>
  2. /*
  3. File: fn_initCop.sqf
  4. Author: Bryan "Tonic" Boardwine
  5. Description:
  6. Cop Initialization file.
  7. */
  8. private["_end"];
  9. player addRating 9999999;
  10. waitUntil {!(isNull (findDisplay 46))};
  11. _end = false;
  12. if(life_blacklisted) exitWith
  13. {
  14. ["Blacklisted",false,true] call BIS_fnc_endMission;
  15. sleep 30;
  16. };
  17. if(!(str(player) in ["cop_1","cop_2","cop_3","cop_4"])) then {
  18. if((FETCH_CONST(life_coplevel) == 0) && (FETCH_CONST(life_adminlevel) == 0)) then {
  19. ["NotWhitelisted",false,true] call BIS_fnc_endMission;
  20. sleep 35;
  21. };
  22. };
  23. player setVariable["rank",(FETCH_CONST(life_coplevel)),true];
  24. [] call life_fnc_spawnMenu;
  25. waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.
  26. waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.
  27. [] spawn {
  28. while {true} do {
  29. switch (true) do {
  30. case (__GETC__(life_coplevel) == 1) : {
  31. waitUntil {uniform player == "U_Rangemaster"};
  32. player setObjectTextureGlobal [0,"textures\rekrut.jpg"];
  33. waitUntil {uniform player != "U_Rangemaster"};
  34. };
  35. case (__GETC__(life_coplevel) == 2) : {
  36. waitUntil {uniform player == "U_B_CombatUniform_mcam"};
  37. player setObjectTextureGlobal [0,"textures\cop_sergeant.jpg"];
  38. waitUntil {uniform player != "U_B_CombatUniform_mcam"};
  39. };
  40. case (__GETC__(life_coplevel) == 3) : {
  41. waitUntil {uniform player == "U_B_CombatUniform_mcam"};
  42. player setObjectTextureGlobal [0,"textures\cop_sergeant.jpg"];
  43. waitUntil {uniform player != "U_B_CombatUniform_mcam"};
  44. };
  45. case (__GETC__(life_coplevel) == 4) : {
  46. waitUntil {uniform player == "U_B_CombatUniform_mcam"};
  47. player setObjectTextureGlobal [0,"textures\Polizei_2.paa"];
  48. waitUntil {uniform player != "U_B_CombatUniform_mcam"};
  49. };
  50. case (__GETC__(life_coplevel) == 5) : {
  51. waitUntil {uniform player == "U_B_CombatUniform_mcam"};
  52. player setObjectTextureGlobal [0,"textures\Polizei_1.jpg"];
  53. waitUntil {uniform player != "U_B_CombatUniform_mcam"};
  54. };
  55. case (__GETC__(life_coplevel) == 6) : {
  56. waitUntil {uniform player == "U_B_CombatUniform_mcam"};
  57. player setObjectTextureGlobal [0,"textures\sek.jpg"];
  58. waitUntil {uniform player != "U_B_CombatUniform_mcam"};
  59. };
  60. case (__GETC__(life_coplevel) == 7) : {
  61. waitUntil {uniform player == "U_B_CombatUniform_mcam"};
  62. player setObjectTextureGlobal [0,"textures\cop_captain.jpg"];
  63. waitUntil {uniform player != "U_B_CombatUniform_mcam"};
  64. };
  65. //Und das die ganze zeit lang
  66. };
  67. };
  68. //Vllt gehts ja so...

Justinlotz

User / Kunde

Posts: 32

  • Send private message

2

Thursday, May 26th 2016, 11:47pm

Hallo

Du must auch sagen was du wilst

KiloSwiss

ArmA Freidenker

  • "KiloSwiss" is male

Posts: 4,016

Location: Feruz Abad

Occupation: SQF

Thanks: 295

  • Send private message

3

Friday, May 27th 2016, 4:45am

1.
Du kannst .sqf, .zip, etc. Dateien ganz einfach an den Post anhängen, lies dir mal den angepinnten “Wie erstelle ich..." thread durch.

2.
Du hast einen rootserver von Nitrado, oder von einem anderen Anbieter?

» Meine Dateien (Arma3 & CSGO): Dropbox «

» Spenden für ein Bierchen: PayPal :beer: «

Bitte besucht unser neues Forum unter https://forum.nitrado.net| Please visit our new Forum at https://forum.nitrado.net