I need help Thanks!
#1

My problem is with gun's, before i have this:
Код:
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//Surenos spawn
		{
		  SetPlayerToTeamColor(playerid);
		  GivePlayerWeapon(playerid,4,1);
		  SetPlayerInterior(playerid, 5);
		  SetPlayerPos(playerid, 2345.6570,-1185.5266,1027.9766);
		  PlayerInfo[playerid][pInt] = 5;
		  return 1;
		}
and now is
Код:
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//Surenos spawn
		{
		  SetPlayerToTeamColor(playerid);
		  SetPlayerInterior(playerid, 5);
		  SetPlayerPos(playerid, 2345.6570,-1185.5266,1027.9766);
		  PlayerInfo[playerid][pInt] = 5;
		  return 1;
		}
but when i spawn still i have that weapon's any idea for help? Thanks
Reply
#2

maybe check your OnPlayerConnect or OnPlayerSpawn there will be GivePlayerWeapon(playerid,4,1);
Reply
#3

Quote:
Originally Posted by » Titan «
maybe check your OnPlayerConnect or OnPlayerSpawn there will be GivePlayerWeapon(playerid,4,1);
I solved the problem, anyway Thank you for your effort!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)