Dm Help
#1

I Am Using A TDM server i have 5 teams i have added dm arena the problem is team members can't fight each other as we have defied it in gm that team members can't fight each other ..i need team members and all to be able to kill each other in dm zone alone how too? ....
Reply
#2

What would be the point of teams then if they kill their team mates? ...

If SetPlayerTeam was used, they cannot kill players from the same team unless they do it with knife. Set the team to NO_TEAM (255) to prevent it.
Reply
#3

Yes, if you NEED teams but want team damage as well then you'll need to create your own team system.
Reply
#4

no brothers i need teams while playing ...i need team members to be able to fight in dm arena alone how??
please help...
Reply
#5

SetPlayerTeam (playerid,playerid+6);

This will simply set the players team to something 6 more than their ID so it will be randomized since a player can't have the same ID assigned to another player.This way it won''t collide with the team system you have.


Ofcourse, after they die force them to class selection or set their old team to a variable and re-set it.
Reply
#6

Quote:
Originally Posted by Tamer T
Посмотреть сообщение
SetPlayerTeam (playerid,playerid+6);

This will simply set the players team to something 6 more than their ID so it will be randomized since a player can't have the same ID assigned to another player.This way it won''t collide with the team system you have.


Ofcourse, after they die force them to class selection or set their old team to a variable and re-set it.
good idea thank u ...
but can i get some better id....
lol if players gets out of a certain boundary when we use range ban all out of boundary gets banned similarly is there any cmd to set boundary of dm and allow any one to kill any one
Reply
#7

Thank u all ...
found 2 solution both

1.SetPlayerTeam(playerid, NO_TEAM);

2.SetPlayerTeam (playerid,playerid+6);


Are working Good
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)