[Help]i Want Know Somthings
#1

i Want Know How To Make Team [Kidnap] Team [Hitman] ...
i Know How To Make it But i Want Know How To Make it For Civ Only if he is Team HitMan Cant Use Kidnap ..
+ Save That To See He is Hitman Or Kidnap To Can use it y_ini
Thanks Please Example +Rep
Reply
#2

I LOVE ****** !!!!!!!!
Reply
#3

You must use GetPlayerTeam.
pawn Код:
if(GetPlayerTeam(playerid) == TEAM_HITMAN)
Replace the team_hitman with your team name.....
now you can use
pawn Код:
CMD:kidnap(playerid, params[])
{
    if(GetPlayerTeam(playerid) == TEAM_HITMAN)
    {
        //Player team is hitman, so he can use the command
    }
    else
    {
        //Player team is not hitman, sendclientmessage that he is not in hitman team
    }
    return 1;
}
Reply
#4

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
You must use GetPlayerTeam.
pawn Код:
if(GetPlayerTeam(playerid) == TEAM_HITMAN)
Replace the team_hitman with your team name.....
now you can use
pawn Код:
CMD:kidnap(playerid, params[])
{
    if(GetPlayerTeam(playerid) == TEAM_HITMAN)
    {
        //Player team is hitman, so he can use the command
    }
    else
    {
        //Player team is not hitman, sendclientmessage that he is not in hitman team
    }
    return 1;
}
Sorry But My Problem i Have The gTeam Civ Ok i Want Use it in Hit man Or Kidnap this only i want use it in skill this gTeam To i ask Now in the post to my head its will suck
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)