29.07.2010, 17:13
Put a conditional right below the starting of the command,
if(player team == #)
then wrap everything in braces and below it all put:
else
{
sendclientmessage "You cannot use this command"
}
That's how you put a Team conditional on the command, you have to use the variable that is used to represent the players team though.
if(player team == #)
then wrap everything in braces and below it all put:
else
{
sendclientmessage "You cannot use this command"
}
That's how you put a Team conditional on the command, you have to use the variable that is used to represent the players team though.