setplayerteam
#1

i setted player team, the friendlyfire is off and u cant kill ur mates, but how to when player types /leave gets able to kill everyone?
Reply
#2

what
Reply
#3

you can do something like that
pawn Код:
SetPlayerTeam(playerid,playerid+1);
Reply
#4

Or you could just create a Team that is able to attack everyone like:

/leave
{
SetPlayerTeam(playerid,1000);
return 1;
}
Reply
#5

maybe there is a better suggestion?
Reply
#6

Quote:
Originally Posted by RoiKy
Посмотреть сообщение
you can do something like that
pawn Код:
SetPlayerTeam(playerid,playerid+1);
i have about 10 teams... If player joins team 1, and writes /leave he gets team 2...
this script is bad




Quote:
Originally Posted by SkizzoTrick
Посмотреть сообщение
Or you could just create a Team that is able to attack everyone like:

/leave
{
SetPlayerTeam(playerid,1000);
return 1;
}
If player writes /leave he gets to team 1000... And if other players will type they get to 1000 team and cant kill each other to -.-

Any suggestions how to turn off setplayerteam?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)