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