SA-MP Forums Archive
Help,Suggestions,Ideeas - 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,Suggestions,Ideeas (/showthread.php?tid=256220)



Help,Suggestions,Ideeas - Ghost_BB - 19.05.2011

I have this system like hen you enter/exit shops you must press enter.
THe problem is that i have the same interior for severals time and the Points where the players have to be to Exit get mixed up.
Actually i have 3 burger shots but when i exit them all it teleports me to a single one,like a main one,which sucks.

So do you have any ideea of how could i fix this?
Please leave a reply only if you really have to say something.


Re: Help,Suggestions,Ideeas - Toreno - 19.05.2011

First of all, we can't help you without a needed code.
Second, I think your business.cfg has messed up and it does that problem... it happened me once.


Re: Help,Suggestions,Ideeas - Stigg - 19.05.2011

EDIT: To late lolz.

Would help if we could see a snippet of code.


Re: Help,Suggestions,Ideeas - Ghost_BB - 19.05.2011

pawn Код:
if(newkeys & KEY_SECONDARY_ATTACK && PlayerToPoint(1.0, playerid, 2019.0575,1017.9599,996.8750)) //4 Dragons Exit
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,2020.1210,1007.3447,10.8203);
    SetPlayerFacingAngle(playerid,180.5566);
    SetCameraBehindPlayer(playerid);
    }



Re: Help,Suggestions,Ideeas - Toreno - 19.05.2011

Where do those coords take you?


Re: Help,Suggestions,Ideeas - Ghost_BB - 19.05.2011

In front of 4Dragons ,that is correct but i was talking for the Interiors ,where i have more with the same ID.
It's the same code..but what im asking if there is anything i could do so idk,fix that..


Re: Help,Suggestions,Ideeas - Toreno - 19.05.2011

You mean virtual world? If so, you need to change the player's virtul world whenever he enters one of those places and each place is a different virtual world.


Re: Help,Suggestions,Ideeas - Ghost_BB - 19.05.2011

Quote:
Originally Posted by EliranPesahov
Посмотреть сообщение
You mean virtual world? If so, you need to change the player's virtul world whenever he enters one of those places and each place is a different virtual world.
No no no,it's not that...damn can't really explain,but show,i should make a small video:S