Hey, i copied the code you so kindly made for me Quincy_Gatlin, and it half-works. It shows the camera facing a lake, with a dock.. But there isnt a character model standing there like i wanted. Sorry for being such a noob, but this is literally my first dip into PAWN code, and i have no idea about it.
As you can see above, i have added 12 player classes, and want each gang (Grove..Balla..Triad) To have their own camera selection screen. (Like in Novicane server). I added your code below, and it just shows a lake. How do i put one of the classes i've already added infront of the lake? After i get that part, i can re-adjust the location to somewhere other than a lake.
Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("fireinthesky");
AddPlayerClass(105,1679.9406,-1351.8318,158.4766,49.5225,31,5000,29,5000,26,5000); // Grovest1
AddPlayerClass(106,1679.9406,-1351.8318,158.4766,49.5225,27,5000,28,5000,24,5000); // Grovest2
AddPlayerClass(107,1679.9406,-1351.8318,158.4766,49.5225,34,5000,39,5000,22,5000); // Grovest3
AddPlayerClass(102,1417.3229,-1220.0721,195.0469,329.8417,31,5000,29,5000,26,5000); // Ballas1
AddPlayerClass(103,1417.3229,-1220.0721,195.0469,329.8417,27,5000,28,5000,24,5000); // Ballas2
AddPlayerClass(104,1417.3229,-1220.0721,195.0469,329.8417,34,5000,39,5000,22,5000); // Ballas3
AddPlayerClass(108,1540.5577,-1071.8640,181.2031,132.7373,31,5000,29,5000,26,5000); // Vagos1
AddPlayerClass(109,1540.5577,-1071.8640,181.2031,132.7373,27,5000,28,5000,24,5000); // Vagos2
AddPlayerClass(110,1540.5577,-1071.8640,181.2031,132.7373,34,5000,39,5000,22,5000); // Vagos3
AddPlayerClass(117,1763.7706,-1201.6462,91.6406,91.1531,31,5000,29,5000,26,5000); // Triad1
AddPlayerClass(118,1763.7706,-1201.6462,91.6406,91.1531,27,5000,28,5000,24,5000); // Triad2
AddPlayerClass(120,1763.7706,-1201.6462,91.6406,91.1531,34,5000,39,5000,22,5000); // Triad3
AddStaticVehicle(448,1660.5554,-1352.5548,159.2643,0.0000,1,9); //
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2155.3032,-97.4670,2.7147);
SetPlayerFacingAngle(playerid,64.9580);
SetPlayerCameraPos(playerid, 2151.5503,-95.4320,2.7001);
SetPlayerCameraLookAt(playerid,2057.6353,-100.8397,1.8606);
return 1;
}