Locking two teams with clan tag
#7

PHP код:
public OnPlayerRequestSpawn(playerid)
{
    new
        
name[MAX_PLAYER_NAME]
     ;
     
GetPlayerName(playeridnamesizeof(name));
     if(
gTeam[playerid] == TEAM_Cali || gTeam[playerid] == TEAM_WTV u want//edit here
 
{
         if (
strfind(name"GwE_"true) == 0) {
            return 
1;
        }
        else {
            
GameTextForPlayer(playerid"~r~You're not a member of Gang War Elites"30001);
            
ForceClassSelection(playerid);
            return 
0;
        }
    }
    return 
1;

Reply


Messages In This Thread
Locking two teams with clan tag - by RuvExArisa - 08.04.2016, 19:39
Re: Locking two teams with clan tag - by Jelly23 - 08.04.2016, 20:10
Re: Locking two teams with clan tag - by RuvExArisa - 08.04.2016, 20:46
Re: Locking two teams with clan tag - by Jelly23 - 08.04.2016, 20:47
Re: Locking two teams with clan tag - by RuvExArisa - 08.04.2016, 20:51
Re: Locking two teams with clan tag - by RuvExArisa - 08.04.2016, 21:28
Re: Locking two teams with clan tag - by Vanter - 08.04.2016, 21:44
Re: Locking two teams with clan tag - by RuvExArisa - 08.04.2016, 22:05

Forum Jump:


Users browsing this thread: 1 Guest(s)