House system - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: House system (
/showthread.php?tid=90644)
House system -
GforceNL - 09.08.2009
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
Re: House system -
MenaceX^ - 09.08.2009
Try to make your own...
Re: House system -
GforceNL - 09.08.2009
Quote:
Originally Posted by MenaceX^
Try to make your own...
|
but how?
Re: House system -
Martin_White - 09.08.2009
Gforce, set it when he types /exit it sets his virtual world to 0 SetVirtualWorld(playerid, 0);
and you're done.
Re: House system -
GforceNL - 09.08.2009
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
?
Re: House system -
WrathOfGenesis - 09.08.2009
Set
PlayerVirtualWorld ( playerid , worldid );
Re: House system -
Martin_White - 09.08.2009
Thanks wrath for fixing.