House system
#1

Hi,
Can Somebody help me with a Good House system

No i use this one:
http://forum.sa-mp.com/index.php?topic=40314.0

But When you leave a house all cars are gone :S

I hope you can help me
Reply
#2

Try to make your own...
Reply
#3

Quote:
Originally Posted by MenaceX^
Try to make your own...
but how?
Reply
#4

Gforce, set it when he types /exit it sets his virtual world to 0 SetVirtualWorld(playerid, 0);

and you're done.
Reply
#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
#6

SetPlayerVirtualWorld ( playerid , worldid );
Reply
#7

Thanks wrath for fixing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)