SHARE
TWEET

Untitled

a guest Sep 18th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public Action:OnPlayerRunCmd(Client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon)
  2. {  
  3.     if(buttons & IN_ATTACK2)
  4.     {
  5.         if(AccessKey[Client] == false)
  6.         {
  7.             TeleportWichSave(Client);
  8.             AccessKey[Client] = true;
  9.         }
  10.     }
  11.     else
  12.     {
  13.         AccessKey[Client] = false;
  14.     }
  15. }
  16. public TeleportWichSave(Client)
  17. {  
  18.     if(Teleport[Client] == true)
  19.     {
  20.         if(TeleportWichDelay[Client] == false)
  21.         {
  22.             new String:weapons[32];
  23.             GetClientWeapon(Client, weapons, sizeof(weapons));
  24.             if(StrEqual(weapons, "weapon_hegrenade"))
  25.             {
  26.                 GetClientAbsOrigin(Client, oldabspos[Client]);
  27.                 GetClientEyeAngles(Client, oldangle[Client]);
  28.                 oldangle[Client][0] = 0.0;
  29.                
  30.                 PrintToChat(Client, "\x04위치 저장");
  31.                
  32.                 old[Client] = true;
  33.                 TeleportWichDelay[Client] = true;
  34.             }
  35.         }
  36.         else
  37.         {
  38.             TeleportWichDelay[Client] = false;
  39.         }
  40.     }
  41. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top