Help please :)
#5

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
new tmp[50];
if(gTeam[playerid]==TEAM_COP)
{
    if(GetPlayerJobID(playerid) == TEAM_COP)
    {
    format(tmp,sizeof(tmp),"[ ! ] Welcome to Police Officer: %s",Name(playerid));
    SendClientMessageToAll(TEAM_POLICE_COLOR,tmp);
    return 1;
    }
    else
    {
    SendClientMessage(playerid,c_r,"You are not a cop!");
    }
return 0;
}
    return 1;
}
TESTED !!
Reply


Messages In This Thread
Help please :) - by Takumi.WS - 27.07.2009, 21:41
Re: Help please :) - by Takumi.WS - 27.07.2009, 23:47
Re: Help please :) - by yezizhu - 28.07.2009, 00:23
Re: Help please :) - by coole210 - 28.07.2009, 01:38
Re: Help please :) - by coole210 - 28.07.2009, 01:43
Re: Help please :) - by Takumi.WS - 28.07.2009, 01:47

Forum Jump:


Users browsing this thread: 3 Guest(s)