SA-MP Forums Archive
I need help - 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: I need help (/showthread.php?tid=71444)



I need help - McSquizzy - 01.04.2009

I have next problem on GodFather Script:
I added some business'es with same interior and when I enter for example at Market Cluckin Bell I will be at the Cluckin Bell Interior, but when I'll exit I'll be at WillowField Cluckinm Bell enter. As I understood, when I type /exit in the same itnerior, I will be at this business entrance, which is las on my bizz.cfg(With same interior) WillowField Cluckin Bell is last business in bizz.cfg with same interior.

Coul somebody help me?

P.S. Sorry for my bad english, I hope You understood me and help me ^^


Re: I need help - McSquizzy - 01.04.2009

sorry for double, but please, i realy need fix that problem... and if that problem was, please sorry too, just give me the link... or maybee you don't understood me... just say, i'll try to explaing better...


Re: I need help - ICECOLDKILLAK8 - 01.04.2009

Ask in the Godfather topic


Re: I need help - McSquizzy - 01.04.2009

k, I posted there... but i think that here i will get help faster than in GodFather topic...

I also tried to add next on /exit command:
Код:
for(new i = 0; i < sizeof(BizzInfo); i++)
			{
				//printf("Bizz :%d",i);
				if (PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
				{
					SetPlayerInterior(playerid,0);
					PlayerInfo[playerid][pInt] = 0;
					SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
					PlayerInfo[playerid][pLocal] = 255;
				}
//What i added
if(i == 10)//Market Cluckin Bell
{
SetPlayerPos(playerid,X,Y,Z);
}
if(i == 11)//WillowField Cluckin Bell
{
SetPlayerPos(playerid,X,Y,Z);
}
if(i == 12));WillowField Pizza
{
SetPlayerPos(playerid,X,Y,Z);
}
after that, when I type /exit(In Market Cluckin Bell for example) I spawn at WillowField Pizza. I spawn at WillowField Pizza when i type /exit in others business'es too...


Re: I need help - Think - 01.04.2009

Quote:
Originally Posted by JeNkStAX
Ask in the Godfather topic
read plz.


Re: I need help - McSquizzy - 01.04.2009

k k, sorry... i asked...