27.06.2012, 21:06
I'm currently working on a server, I have a UAV system and killstreaks and stuff, but now I'm stuk with the spawn screen xD. everything is working but the angle isn't responding. please help
PHP код:
public OnGameModeInit()
AddPlayerClass(0, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(1, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(2, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(10, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(11, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(12, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(16, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(20, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(27, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(28, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(29, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(45, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(82, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(89, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
public OnPlayerRequestClass(playerid, classid)
SetPlayerPos(playerid, 2333.4312,239.6766,26.4097);
SetPlayerCameraPos(playerid,2333.4153,246.1456,26.4079);
SetPlayerCameraLookAt(playerid, 2333.4312,239.6766,26.4097);
AddPlayerClass(0, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(1, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(2, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(10, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(11, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(12, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(16, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(20, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(27, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(28, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(29, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(45, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(82, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
AddPlayerClass(89, 2333.4312, 239.6766, 26.4097, 280.9999, 0, 0, 0, 0, 0, 0);
SetPlayerFacingAngle( playerid, 280);