14.06.2010, 15:48
Ok, I have a speedo+fuel script which uses textdraws, and my GM has a clock.
When I connect to my server, the Clock is there.
When I get in a car, the speed and fuel shows correctly, but in the font, and position of the clock, the clock also dissapears.
When I get out of a car, the clock is back.
The textdraws are created under OnFilterScriptInit, for every slot. (SLOTS = 20)
The function "StartPanel" is called when A player enters a vehicle and his Panel is not turned off.
Textdraws are destroyed under OnFilterScriptExit.
In my GM, I remote call both FSInit and FSExit, so they get called when I GMX.
Oh, and DO NOT TELL ME TO MOVE IT INTO MY GM! I DO NOT WANT IT THERE.
When I connect to my server, the Clock is there.
When I get in a car, the speed and fuel shows correctly, but in the font, and position of the clock, the clock also dissapears.
When I get out of a car, the clock is back.
pawn Код:
You WISH
The function "StartPanel" is called when A player enters a vehicle and his Panel is not turned off.
Textdraws are destroyed under OnFilterScriptExit.
In my GM, I remote call both FSInit and FSExit, so they get called when I GMX.
Oh, and DO NOT TELL ME TO MOVE IT INTO MY GM! I DO NOT WANT IT THERE.