SA-MP Forums Archive
Problem With Transfenders(Tuning Shops) - 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)
+--- Thread: Problem With Transfenders(Tuning Shops) (/showthread.php?tid=90641)



Problem With Transfenders(Tuning Shops) - sandsnake - 09.08.2009

Well im working with a Heavily modified gf( work of 9 months) And now i got a problem Example: When you go on a tuning shop you open a wrong menu you should press enter to come back in the menus right ? Yes but mine causes the player to exit the car bugging him.

Any thing i can do to fix it ?.


Re: Problem With Transfenders(Tuning Shops) - Rickk - 09.08.2009

Would that help?

Код:
IfPlayerToPoint (blabla)
{
  SetPlayerControllable(playerid, 0)
}
This will prevent the person from leaving the vehicle.
Then when the menu is destroyed again ToggleplayerControllable 1


Re: Problem With Transfenders(Tuning Shops) - sandsnake - 09.08.2009

Neps because its the ''original'' tuning shops like the arch angels.


Re: Problem With Transfenders(Tuning Shops) - Rickk - 09.08.2009

Hmm, I haven't experienced the problem myself so I'm afraid I can't help you. Sorry


Re: Problem With Transfenders(Tuning Shops) - sandsnake - 09.08.2009

Bump help please.


Re: Problem With Transfenders(Tuning Shops) - saiberfun - 09.08.2009

Quote:
Originally Posted by sandsnake
Bump help please.
maybe use IsPlayerToPoint at the pos of Transfenders
n check it on a timer


Re: Problem With Transfenders(Tuning Shops) - sandsnake - 09.08.2009

Thanks but where i can find that. I simply dont touched in nothing related with tuning shops but i got that bug ...


Re: Problem With Transfenders(Tuning Shops) - saiberfun - 09.08.2009

Quote:
Originally Posted by sandsnake
Thanks but where i can find that. I simply dont touched in nothing related with tuning shops but i got that bug ...
goto the transfender the usual way n do /save
goto ur gta sa folder open savedpositions.txt
and take the last pos
then just add 1 to the xpos and then copy it again from the savedpositions file and add 1 to the y pos
then use this 2 coords for IsPlayerToPoint


Re: Problem With Transfenders(Tuning Shops) - sandsnake - 09.08.2009

But as i said it is the ''default'' tuning shops i dont coded any shit about it . Im not codding a new tuning system or what else you thinking about im just using the ''default'' ones but they are bugged.


Re: Problem With Transfenders(Tuning Shops) - saiberfun - 09.08.2009

Quote:
Originally Posted by sandsnake
But as i said it is the ''default'' tuning shops i dont coded any shit about it . Im not codding a new tuning system or what else you thinking about im just using the ''default'' ones but they are bugged.
IT IS for the DEFAULT one