Camera Help - 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)
+--- Thread: Camera Help (
/showthread.php?tid=346239)
Camera Help -
Fir3On - 27.05.2012
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
Re: Camera Help -
Fir3On - 28.05.2012
up ! enyone ?
Re: Camera Help -
iGetty - 28.05.2012
Post the "OnPlayerConnect" of the filterscript.
Re: Camera Help -
Fir3On - 28.05.2012
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;
}
Re: Camera Help -
mati233 - 28.05.2012
You can just add TogglePlayerSpectating(playerid, 1); and when you want to spawn the player you do TogglePlayerSpectating(playerid, 0);
Re: Camera Help -
Fir3On - 28.05.2012
now i think its working ! thx