Advertisement
Lirbo

Untitled

Feb 12th, 2016
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) {
  2. if(weaponid == 22){ // 22 = 9mm, אתם יכולים להחליף את זה למה שבא לכם
  3. new Float:F[5];
  4. GetPlayerPos(playerid,F[0],F[1],F[2]);
  5. SetPlayerPos(playerid,F[0],F[1],F[2]+2);} // יקפיץ את השחקן לאוויר ברגע שהוא מקבל יריה
  6. return 1;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement