SHARE
TWEET

/wronglicenses

a guest May 29th, 2017 28 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; активация - /wl в чат
  2. :O?:/wl::
  3. wltime := ""
  4. wlplayer := ""
  5. wllicense := ""
  6. loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  7. {
  8.     if RegExMatch(A_LoopReadLine, "^\[(.*?)\] \|__________________ Лицензии (.*?) __________________\|", s)
  9.     {
  10.         wltime := s1
  11.         wlplayer := s2
  12.     }
  13. }
  14. loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
  15. {
  16.     if RegExMatch(A_LoopReadLine, "^\[" wltime "\] \*\* (.*?)\: \{FF0000\}Подделка\.", s)
  17.     {
  18.         if (s1 = "Водительские права")
  19.         {
  20.             wllicense := "driverslicense"
  21.         }
  22.         if (s1 = "Лицензия на полёты")
  23.         {
  24.             wllicense := "flyinglicense"
  25.         }
  26.         if (s1 = "Лицензия на морской транспорт")
  27.         {
  28.             wllicense := "boatlicense"
  29.         }
  30.         if (s1 = "Разрешение на оружие")
  31.         {
  32.             wllicense := "gunlicense"
  33.         }
  34.         if (s1 = "Лицензия рыболова")
  35.         {
  36.             wllicense := "fishlicense"
  37.         }
  38.         sendchat("/take " wllicense A_Space wlplayer " 0")
  39.         sleep 1150
  40.     }
  41. }
  42. return
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top