24.08.2011, 08:00
Hey guys!
I have a problem...
When I and my friend join to server, timers don't work... It have to Set other Camera Pos but don't work.
But when I join to server alone, it works...
Help me!!!
I have a problem...
When I and my friend join to server, timers don't work... It have to Set other Camera Pos but don't work.
But when I join to server alone, it works...
Help me!!!
Code:
if(playerDB[playerid][newguy]==true) { TextDrawShowForPlayer(playerid, Text:Line1); TextDrawShowForPlayer(playerid, Text:Line2); SetTimer("lines", 15000, false); SetPlayerCameraPos(playerid,2047.1219,1008.4376,19.7687); SetPlayerCameraLookAt(playerid,2021.9423,1007.6476,15.2949); SetTimer("camera", 5000, false); SetPlayerSkin(playerid,248); playerDB[playerid][skin]=248; SetPlayerAttachedObject(playerid, 3, 1550, 1, 0.1, -0.3, 0, 0, 40, 0, 1, 1, 1); SetPlayerPos(playerid,1903.3308,965.7521,10.8203); }
Code:
forward camera(playerid); public camera(playerid) { SetPlayerCameraPos(playerid,1908.6547,963.1794,10.8203); SetPlayerCameraLookAt(playerid,1903.4467,967.1631,10.8203); SetTimer("camera2", 5000, false); return 1; } forward lines(playerid); public lines(playerid) { TextDrawHideForPlayer(playerid, Text:Line1); TextDrawHideForPlayer(playerid, Text:Line2); return 1; } forward camera2(playerid); public camera2(playerid) { SetPlayerCameraPos(playerid,1888.9412,946.0771,15.0975); SetPlayerCameraLookAt(playerid,1883.4490,977.2070,10.8203); SetTimer("camerab", 5000, false); return 1; } forward camerab(playerid); public camerab(playerid) { SetCameraBehindPlayer(playerid); return 1; }