SA-MP Forums Archive
Help People are invulnerable to Weapons!!!! - 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: Help People are invulnerable to Weapons!!!! (/showthread.php?tid=167597)



Help People are invulnerable to Weapons!!!! - lSCARl - 12.08.2010

for some reason when ever i shoot soemone or when someone shoots me it does no damage! i have no idea why can someone help?


Re: Help People are invulnerable to Weapons!!!! - Las Venturas CNR - 12.08.2010

Are you on their player team? Are you both set on the same like SetPlayerTeam on spawn?


Re: Help People are invulnerable to Weapons!!!! - lSCARl - 12.08.2010

Quote:
Originally Posted by Las Venturas CNR
Посмотреть сообщение
Are you on their player team? Are you both set on the same like SetPlayerTeam on spawn?
yes everyone is on the same team but i have a thing to kill a random person in the beginning and when he dies it sets him to another team so does it like bug or something


Re: Help People are invulnerable to Weapons!!!! - lSCARl - 12.08.2010

Quote:
Originally Posted by Aztecking
Посмотреть сообщение
not use setplayerteam..
dude someone is killed randomly in the beginning and on player death it sets him to another team so how can i set them to another team on death properly?


Re: Help People are invulnerable to Weapons!!!! - Kitten - 12.08.2010

so on other team TEAM_HUNTER i guess make a note: if you are using gteam
pawn Код:
if(gTeam[playerid] == TEAM_HUNTER)
          {
          SetPlayerTeam(playerid,TEAM_HUNTER);
          //Your other stuff for your code for team hunter
          }



Re: Help People are invulnerable to Weapons!!!! - r0b - 12.08.2010

theres missing ; and i think he already got this. kitten, wrote it for his gTeam system


Re: Help People are invulnerable to Weapons!!!! - PotH3Ad - 13.08.2010

EDIT: Misunderstood you :/