SA-MP Forums Archive
Wierd bug, Nobodys taking damage? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Wierd bug, Nobodys taking damage? (/showthread.php?tid=146372)



Wierd bug, Nobodys taking damage? - -Rebel Son- - 07.05.2010

Ok in my gamemode, You cant damage the player, You punch them, they stand still, loose no health. Any ideas?


Re: Wierd bug, Nobodys taking damage? - Valak - 07.05.2010

Sure the other guy isn't alt-tabbed and messing with you?

Aside from that, check your OnPlayerUpdate(), something may be getting lost in there.


Re: Wierd bug, Nobodys taking damage? - Bcklup - 07.05.2010

Nope, I'm not paused(im the guy who helped him), I can't damage him either



Re: Wierd bug, Nobodys taking damage? - Rac3r - 07.05.2010

SetPlayerTeam(playerid, teamid);

make sure you're not both on the same team :P


Re: Wierd bug, Nobodys taking damage? - Geso - 07.05.2010

Quote:
Originally Posted by Rac3r
SetPlayerTeam(playerid, teamid);

make sure you're not both on the same team :P
If he is using gTeam this won't help i think..


Re: Wierd bug, Nobodys taking damage? - CaHbKo - 07.05.2010

I got the same problem. Guns do work except sniper, and all melee attacks wont work.

When my friend punches me, I see him swinging his arm, but I don't recoil or something.


Re: Wierd bug, Nobodys taking damage? - -Rebel Son- - 07.05.2010

Yeah, same thing, but the sniper doesnt work.

and yes im using gTeam.


Re: Wierd bug, Nobodys taking damage? - rbN. - 07.05.2010

Maybe they used knife on you, and you got bugged..

I had this once aswell, but not like that. Player was just walking, without animation. He was standing still, and just walked to me. Even if he attacked me (without animation), I didn't lose HP:P


Re: Wierd bug, Nobodys taking damage? - Fj0rtizFredde - 07.05.2010

Maybe check if your OnPlayerUpdate return's 1 or 0 :P


Re: Wierd bug, Nobodys taking damage? - -Rebel Son- - 07.05.2010

What if you dont even have OnPlayerUpdate?