(HELP) Please help me with this - 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: (HELP) Please help me with this (
/showthread.php?tid=270026)
(HELP) Please help me with this -
spaty2 - 18.07.2011
Hey, i have this, this is, after login spawn in your bought house, but when i spawn i can get out of my house and
if i allowed HouseEntered and i go out of house and relog, i didn't spawn in my house but before my house, out of house...
Please look and tell me, what is bad on this..
pawn Код:
if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);
SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
PlayerInfo[playerid][pLocal] = house;
//HouseEntered[playerid] = house;
PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
return 1;
Re: (HELP) Please help me with this -
DeadAhead - 18.07.2011
Sorry but i really really really cannot understand you.
Can you please try to re-explain your problem/
Re: (HELP) Please help me with this -
spaty2 - 18.07.2011
I SOLVED already...