House system
#5

Quote:
Originally Posted by Martin_White
Gforce, set it when he types /exit it sets his virtual world to 0 SetVirtualWorld(playerid, 0);

and you're done.
i tryd but i get a error
House.pwn(490) : error 017: undefined symbol "SetVirtualWorld"
Код:
dcmd_exit(playerid,params[])
{
  #pragma unused params

	if(GetPlayerInterior(playerid)==playerinterior[playerid])
	{
		SetPlayerPos(playerid, housex, housey, housez);
		SetPlayerInterior(playerid, playerworld[playerid]);
		SetVirtualWorld(playerid, 0);
	}
	else
	{
		SendClientMessage(playerid, c_r, "You have not entered a house!");
	}
  	return 1;
}
What to do?
new SetVirtualWorld
?
Reply


Messages In This Thread
House system - by GforceNL - 09.08.2009, 11:45
Re: House system - by MenaceX^ - 09.08.2009, 12:03
Re: House system - by GforceNL - 09.08.2009, 12:08
Re: House system - by Martin_White - 09.08.2009, 12:10
Re: House system - by GforceNL - 09.08.2009, 13:22
Re: House system - by WrathOfGenesis - 09.08.2009, 13:49
Re: House system - by Martin_White - 09.08.2009, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)