Help please! [ SOLVED ] [ HOW TO FIX INSIDE ]
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
if(make it read player info == 1)
{
//make it spawn cops with cops class id
}
if(GetPlayerJobID < 2)
{
//SendClientMessage(playerid, COLOR_GREY, "  your not a cop"); u can use instead of kick
kick(playerid)
return 1;
}

pawn Код:
public SetPlayerTeamFromClass(playerid,classid)
{
if(classid >= 286)
{
gTeam[playerid] = TEAM_COPS;
}
Код:
add at the bottem of on player request class add this is here


SetPlayerTeamFromClass(playerid,classid);
and forward this mate

pawn Код:
forward SetPlayerTeamFromClass(playerid,classid);
Reply


Messages In This Thread
Help please! [ SOLVED ] [ HOW TO FIX INSIDE ] - by coole210 - 26.06.2009, 23:19
Re: Help please! - by shady91 - 26.06.2009, 23:27
Re: Help please! - by coole210 - 26.06.2009, 23:28
Re: Help please! - by shady91 - 26.06.2009, 23:29
Re: Help please! - by coole210 - 26.06.2009, 23:43
Re: Help please! - by shady91 - 26.06.2009, 23:56
Re: Help please! - by coole210 - 27.06.2009, 00:17
Re: Help please! - by shady91 - 27.06.2009, 00:19
Re: Help please! - by shady91 - 27.06.2009, 00:20
Re: Help please! - by Grim_ - 27.06.2009, 00:22

Forum Jump:


Users browsing this thread: 1 Guest(s)