team set to skins
#1

How do i make a skin set to a team?
Reply
#2

OK ive tried this but get these error but dont no if this is right anways
Код:
C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(97) : warning 202: number of arguments does not match definition
C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(98) : error 001: expected token: "*then", but found "-identifier-"
C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(100) : error 010: invalid function or declaration
C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(103) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Код:
}
  if GetPlayerSkin(playerid, 102)
	  SetPlayerTeam(playerid, TEAM_GROVE);
  }
  else if GetPlayerSkin(playerid, 106)
	  SetPlayerTeam(playerid, TEAM_BALLAS);
  }
Reply
#3

pawn Код:
if(GetPlayerSkin(playerid, 102) {
      SetPlayerTeam(playerid, TEAM_GROVE);
  }
  else if(GetPlayerSkin(playerid, 106) {
      SetPlayerTeam(playerid, TEAM_BALLAS);
  }
Reply
#4

Could you post your #define lines about your teams?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)