cop team
#1

SOLVED!
Reply
#2

bump
Reply
#3

bump.
there is no fix?
Reply
#4

We need to change the faction... You`r cop faction is number 1
if (PlayerInfo[playerid][pMember] == 1!
Or try this:
PlayerInfo[playerid][team] = 1;
Reply
#5

Quote:
Originally Posted by Nee
We need to change the faction... You`r cop faction is number 1
if (PlayerInfo[playerid][pMember] == 1!
Or try this:
PlayerInfo[playerid][team] = 1;
Its not an godfather gamemode.
Код:
	 case TEAM_COP: 
{
        if(PlayerInfo[playerid][logged] == 1) 
 {
        if(strfind(Nick, "revenngeR", true) != -1 || strfind(Nick, "null", true) != -1) 
   {
       TextDrawShowForPlayer(playerid,myclock);
       SetPlayerColor(playerid,COLOR_BLUE);
       SetPlayerPos(playerid,2295.8589,2459.7637,10.8203);
       PlayerInfo[playerid][team] = TEAM_COP;
       SendClientMessage(playerid,COLOR_RED,"Welcome! Type /cophelp to see cop commands!");
 }
   }
       PlayerInfo[playerid][team] = TEAM_CIV;
       SendClientMessage(playerid,COLOR_RED,"You are not a cop! you can apply to cop on forums.");
       SetPlayerPos(playerid,2171.1748,1396.9678,11.0625);
       SetPlayerSkin(playerid,134);
       return 1;
}
i edited the code something like this
but it doesnt work anyway
Reply
#6

Hmm is TDM mod?!
Reply
#7

its a racing gamemode.
omg i fixed finnaly.
Код:
	case TEAM_COP: {
			if(PlayerInfo[playerid][logged] == 1) {
				if(strfind(Nick, "revenngeR", true) != -1 || strfind(Nick, "null", true) != -1) {
					TextDrawShowForPlayer(playerid,myclock);
					SetPlayerColor(playerid,COLOR_BLUE);
					SetPlayerPos(playerid,2295.8589,2459.7637,10.8203);
					PlayerInfo[playerid][team] = TEAM_COP;
					SendClientMessage(playerid,COLOR_RED,"Welcome! Type /cophelp to see cop commands!");
					return 1;
				}
				PlayerInfo[playerid][team] = TEAM_CIV;
				SendClientMessage(playerid,COLOR_RED,"You are not logged in!");
				SetPlayerPos(playerid,2171.1748,1396.9678,11.0625);
				SetPlayerSkin(playerid,134);
			}
			PlayerInfo[playerid][team] = TEAM_CIV;
			SendClientMessage(playerid,COLOR_RED,"You are not a cop! you can apply to cop on forums.");
			SetPlayerPos(playerid,2171.1748,1396.9678,11.0625);
			SetPlayerSkin(playerid,134);
		}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)