Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.34 KB | None | 0 0
  1. local sound_id = CreateSound("CS_PRAYER_FOKUSPREPARE.WAV")
  2. for i = 0, MAX_PLAYERS - 1 do
  3.  
  4.                         Gracz[i] = {};
  5.                         Gracz[i].help = false;
  6.                         Gracz[i].loggedIn = nil;
  7.                         Gracz[i].moder = nil;
  8.                         Gracz[i].class = nil;
  9.                         Gracz[i].mod = 0
  10.                         Gracz[i].dowo = 0
  11. end
  12.  
  13. function BE_OnGamemodeInit()
  14.                                 SetGamemodeName("ArkhanRP v2.0");
  15.                                 EnableChat(0);
  16.                                 ai_Init(true);
  17.                                 gui_Init(true);
  18.                                 enable_OnTime(true);
  19.                                 SetTimer("Time",500,1)
  20.                                 Enable_OnPlayerKey(1);
  21.                                 EnableNicknameID(1);
  22.                                 OpenLocks(1);
  23.                                 SetServerDescription("Forum: http://www.dziedzictwo-przodkow.c0.pl")
  24. end    
  25.  
  26. function OnPlayerCommandText(playerid, cmdtext)
  27. cmd,params = GetCommand(cmdtext);
  28.  
  29. if cmd == "/nekromanci" then
  30. gowieno = SetTimerEx("mhm", 1 * 1000 ,1,playerid)
  31. PlayAnimation(playerid,"S_HEASHOOT")
  32.  
  33. end
  34. end
  35. function mhm(playerid)
  36. KillTimer(gowieno)
  37. SetPlayerPos(playerid, );
  38. PlayPlayerSound(playerid,sound_id)
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement