|
|
#1 |
|
Big Clucker
![]() ![]() Join Date: Jun 2012
Posts: 60
Reputation: 0
|
solved.. but ima having another problem...
here http://forum.sa-mp.com/showthread.ph...51#post1947951 Last edited by jeffery30162; 26/06/2012 at 09:22 PM. |
|
|
|
|
|
#2 |
|
Huge Clucker
![]() ![]() ![]() Join Date: May 2008
Posts: 431
Reputation: 4
|
Hello.
If you want all players to be able to enter, then you don't need to check what businesses the player owns. pawn Code:
This basically checks if the vehicle ID for that player is 0 (the ! means the condition after it must be FALSE or 0). Now. pawn Code:
Example: pawn Code:
"BID" for the ID of the business that the loop is on "sizeof(ABusinessData)" to work out how many businesses the loop will need to go through (if you have a function/variable that can find the exact number of businesses in the server, use that instead) And then basically you can continue with the code: pawn Code:
Now I did fragment your code a lot, so here is the final outcome (make sure to read everything above so you can understand the errors I have pointed out): pawn Code:
|
|
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: Jun 2012
Posts: 60
Reputation: 0
|
omfg your amazing. ima test this out right now TTTHHAAANNNKKK YYYOOUU
|
|
|
|
|
|
#4 |
|
Big Clucker
![]() ![]() Join Date: Jun 2012
Posts: 60
Reputation: 0
|
I have another problem that I can't seem to figure out. please help me.
http://forum.sa-mp.com/showthread.ph...51#post1947951 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FilterScript] PPC_Business | PowerPC603 | Filterscripts | 59 | 10/05/2013 08:23 PM |
| PPC_Business | Sami Ham | Scripting Help | 6 | 04/02/2013 02:53 AM |