repeat83

preg_match

Aug 1st, 2015
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. /[addMagazine addWeapon] [\[\"]+(\w+)[\"\]]+/
  2.  
  3. #get weapon
  4. /addWeapon [\"]+(\w+)[\"]+/
  5.  
  6. #get magazine
  7. /addMagazine [\[\"]+(\w+)[\]\"]+/
  8.  
  9. =================================================================
  10.  
  11. class Item0
  12. {
  13. position[]={3553.4705,234.75211,4280.7114};
  14. azimut=145;
  15. special="NONE";
  16. id=22;
  17. side="GUER";
  18. vehicle="GUE_Commander";
  19. player="PLAY CDG";
  20. leader=1;
  21. rank="COLONEL";
  22. skill=1;
  23. text="I31";
  24. init="this stop true; removeAllWeapons this; {this addMagazine ""30Rnd_556x45_Stanag""} forEach [0,0,0,0,0,0,0,0]; {this addMagazine ""1Rnd_HE_M203""} forEach [0,0,0,0]; this addMagazine [""HandGrenade_West"",2];this addMagazine [""SmokeShell"",2];this addWeapon ""M4A3_RCO_GL_EP1""; this addWeapon ""binocular"";this addWeapon ""ACE_P159_RD54"";this addWeapon ""itemGPS""";
  25. description="Махмуд Газневи - Агент Ирана (Командир Стороны)";
  26. }
Advertisement
Add Comment
Please, Sign In to add comment