Any Suggestions as to why this happens? (Screenshots) -
Dokins - 11.09.2012
When the FIRST person logs in, types /eon this happens: (How it should work).
(SPEEDOMETER)
When the second person comes in the server, this happens: (Not working.)
I've debugged, re-written etc, can't possibly have any suggestions! Any code you want to see, ask me and I'll post.
Re: Any Suggestions as to why this happens? (Screenshots) -
[HK]Ryder[AN] - 12.09.2012
No code. No Help.
Re: Any Suggestions as to why this happens? (Screenshots) -
Biesmen - 12.09.2012
Quote:
Originally Posted by [HK]Ryder[AN]
No code. No Help.
|
Lol'd..
Indeed, how are we supposed to help if you do not provide your source code?
Re: Any Suggestions as to why this happens? (Screenshots) -
Dokins - 12.09.2012
Heres the link to the code:
https://sampforum.blast.hk/showthread.php?tid=376747
Re: Any Suggestions as to why this happens? (Screenshots) -
Dokins - 18.11.2012
Could someone take a look and maybe assist me? Was a while ago, still not resolved.
Re: Any Suggestions as to why this happens? (Screenshots) -
EliteApple - 18.11.2012
Try this, under OnPlayerConnect, add
pawn Код:
TextDrawHideForPlayer(playerid, speed[playerid]);
TextDrawHideForPlayer(playerid, fuel[playerid]);
It's hidding the textdraws for the new player that connects, so once they type the command for it to show up - it should show.
Quoted from another topic;
Quote:
Originally Posted by park4bmx
if the dialog didnt show then the Textdraw must have being Destroyed in previous code !
|
EDIT:
You don't destroy it, you just hide it where you don't have to recreate it - but make sure when they turn the engine off of the vehicle or get out of the vehicle to hide the textdraws until they get back into the vehicle - a better way of showing the fuel/speedometer would be adding the textdraws under OnPlayerEnterVehicle instead of a command, and OnPlayerEnterVehicle, show the textdraws - and under OnPlayerExitVehicle, hide them.
Re: Any Suggestions as to why this happens? (Screenshots) -
Dokins - 18.11.2012
Alright, I'll do all that and get back to you, thank you very much.
Re: Any Suggestions as to why this happens? (Screenshots) -
Dokins - 18.11.2012
It won't work on OnPlayerEnterVehicle, but it works on OnPlayerExitVehicle. I.e It won't display the same.