SA-MP Forums Archive
Faction Cars Problem - 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: Faction Cars Problem (/showthread.php?tid=71572)



Faction Cars Problem - Castle - 02.04.2009

I made this: http://pastebin.com/d6b150b0c
The problem is that when the player Belongs to a faction SFPD for example and the car belongs to it too you can drive it
but when it doesn't belong to the faction you are in it doesn't show the text or remove ya from the car


Re: Faction Cars Problem - MenaceX^ - 02.04.2009

Post in Carlito's RP topic


Re: Faction Cars Problem - Castle - 02.04.2009

No1 Answers there...
No1 takes a look at the last pages


Re: Faction Cars Problem - MenaceX^ - 02.04.2009

What part doesn't work there?


Re: Faction Cars Problem - Castle - 02.04.2009

Heres the problem:
You are in a Faction, You enter a car that belongs to that faction all works.
You in Faction A, you enter into a car that belongs to Faction B, It removes teh player from the car but without the MSG that it belongs to the Faction B
If you are a Civilian Teh MSg and remove from faction car works


Re: Faction Cars Problem - MenaceX^ - 02.04.2009

So only the text doesn't appear?


Re: Faction Cars Problem - Castle - 02.04.2009

Yup, I mean the Text if you in Faction A, and you enter a Car that belongs to Faction B.
but if you enter a Faction A Car it has to let you drive it


Re: Faction Cars Problem - MenaceX^ - 02.04.2009

Debug it out.


Re: Faction Cars Problem - Castle - 02.04.2009

If I knew wheres the Problem I would...
The thing is I read the Debugging on WIKI well it kinda haven't helped me


Re: Faction Cars Problem - LarzI - 02.04.2009

But prints after each line of the code you gave us...
I will do it for you this time, but try on your own next time, ok?

http://pastebin.com/m56853ba6

Quote:
Originally Posted by [url]http://wiki.sa-mp.com
Style[/url] 5

Displays for 3 seconds, regardless of what time you set.
I changed style to 4