First GetPlayerInterior and then SetPlayerInterior
#1

Hi Guys,

Code:
if(strcmp("/gg",cmdtext,true) == 0)
  {
  if(IsInGunGame[playerid] == 0)
  {
  
	for(new i;i < MAX_PLAYERS;i++)
	{
	{
  Interior[i] = GetPlayerInterior(i);
  new Float:x, Float:y, Float:z;
  GetPlayerPos(i, x, y, z);
  }
  }
  }
	else
	{

	for(new i;i < MAX_PLAYERS;i++)
	{
	{
  SetPlayerInterior(i,Interior[i]);
  new Float:x, Float:y, Float:z;
  SetPlayerPos(i, x, y, z);
  }
  }
	
	}
	return 1;
  }
That isn't the complete /gg command but i only copied the lines i think
theire must be the problem ...


Set The Position from before is working,
but to Set the Interior from before that is my problem,
because it wouldn't work =(

Please Help...

LG Bearfist
Reply


Messages In This Thread
First GetPlayerInterior and then SetPlayerInterior - by Bearfist - 09.12.2009, 20:52
Re: First GetPlayerInterior and then SetPlayerInterior - by Mikep. - 09.12.2009, 23:50
Re: First GetPlayerInterior and then SetPlayerInterior - by Bearfist - 10.12.2009, 14:19
Re: First GetPlayerInterior and then SetPlayerInterior - by Mikep. - 10.12.2009, 15:44
Re: First GetPlayerInterior and then SetPlayerInterior - by Bearfist - 10.12.2009, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)