2 players share same truck. - 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: 2 players share same truck. (
/showthread.php?tid=198859)
2 players share same truck. -
Zh3r0 - 13.12.2010
This is rather strange! I have the variable created with Var[ playerid ] a player variable.
So let me explain, i made a trucking mini-game, but when i select the truck and trailer( self made ), the one that's in trucking mission gets his truck destroyed, and gets created at my pos, and so on.
Got me?
Re: 2 players share same truck. -
WillyP - 13.12.2010
Yes, so once player1's truck gets destroyed, it gets TP'ed to player2's location?
Re: 2 players share same truck. -
Zh3r0 - 13.12.2010
Quote:
Originally Posted by [FU]Victious
Yes, so once player1's truck gets destroyed, it gets TP'ed to player2's location?
|
No, so let me explain.
Player A is in trucking mission, already selected truck and trailer.
Player B joins the trucking mission, he is at the truck selection screen.
Player A's truck and trailer vanish and the it shows at Player B's position.
And so on.
Re: 2 players share same truck. -
WillyP - 13.12.2010
Quote:
Originally Posted by Zh3r0
No, so let me explain.
Player A is in trucking mission, already selected truck and trailer.
Player B joins the trucking mission, he is at the truck selection screen.
Player A's truck and trailer vanish and the it shows at Player B's position.
And so on.
|
I don't see why this would be of any use, 'cause wouldn't you just create loads of trucks then on the selection screen the camera pos changes?
Or you're showing player2 player1's truck..
Re: 2 players share same truck. -
Zh3r0 - 13.12.2010
Quote:
Originally Posted by [FU]Victious
I don't see why this would be of any use, 'cause wouldn't you just create loads of trucks then on the selection screen the camera pos changes?
Or you're showing player2 player1's truck..
|
How about coming and see what I'm talking about?
I want you to agree to come to the server so i can show you better.
And then i give you the IP( PC Host )
Re: 2 players share same truck. -
WillyP - 13.12.2010
Quote:
Originally Posted by Zh3r0
How about coming and see what I'm talking about?
I want you to agree to come to the server so i can show you better.
And then i give you the IP( PC Host )
|
Sure, I'll come.
Re: 2 players share same truck. -
XePloiT - 13.12.2010
show the script of the trucking mission when player is joins.
Re: 2 players share same truck. -
WillyP - 13.12.2010
Quote:
Originally Posted by XePloiT
show the script of the trucking mission when player is joins.
|
No need, Its fixed.
Re: 2 players share same truck. -
XePloiT - 13.12.2010
k,good day
Re: 2 players share same truck. -
Zh3r0 - 13.12.2010
Quote:
Originally Posted by [FU]Victious
No need, Its fixed.
|
Yeah, thanks a lot Vitctious!