Camera Help
#1

hy,i have a problem,,, when a player connects on server, the camera go in the sky, but on the minimap you ar able to move,,, i have the AVS, advanced vehicle sistem, when i run the server without it,,, its no problem, but when i load the fs, . boom, player connects and the cammera go in the sky, for every player ! i use 0.3e ! help plz
Reply
#2

up ! enyone ?
Reply
#3

Post the "OnPlayerConnect" of the filterscript.
Reply
#4

here is the code !!!!


Код:
public OnPlayerConnect(playerid)
{
	RefuelTime[playerid] = 0;
	TrackCar[playerid] = 0;
	
	SpeedoText[playerid] = TextDrawCreate(180.000, 362.000," ");
	TextDrawAlignment(SpeedoText[playerid], 1);
	TextDrawFont(SpeedoText[playerid],2);
	TextDrawLetterSize(SpeedoText[playerid], 0.310, 1.400);
	TextDrawSetShadow(SpeedoText[playerid],0);
	TextDrawUseBox(SpeedoText[playerid], 1);
	TextDrawBoxColor(SpeedoText[playerid], 0x99);
	TextDrawTextSize(SpeedoText[playerid], 520.000, 0.000);
	
	return 1;
}
Reply
#5

You can just add TogglePlayerSpectating(playerid, 1); and when you want to spawn the player you do TogglePlayerSpectating(playerid, 0);
Reply
#6

now i think its working ! thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)