i have a little problem when i want to spawn.
because when i can choose my class there is no character you only see the landscape.
Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Los Santos: F4A");
AddPlayerClass(0,2495.5459,-1686.8917,13.5156,1.8003,0,0,0,0,0,0); // spawn 1
AddPlayerClass(105,2511.5530,-1688.1600,13.5639,48.4874,0,0,0,0,0,0); // spawn 2
AddPlayerClass(106,2521.2197,-1678.8292,15.3338,88.2811,0,0,0,0,0,0); // spawn 3
AddPlayerClass(107,2523.0190,-1658.1779,15.4935,90.4744,0,0,0,0,0,0); // spawn 4
AddPlayerClass(106,2513.4324,-1650.5984,14.3557,139.9815,0,0,0,0,0,0); // spawn 5
AddPlayerClass(107,2498.4082,-1644.3429,13.7826,182.9085,0,0,0,0,0,0); // spawn 6
AddPlayerClass(105,2486.2207,-1645.5916,14.0772,179.1485,0,0,0,0,0,0); // spawn 7
AddPlayerClass(106,2459.3501,-1689.2700,13.5379,357.7502,0,0,0,0,0,0); // spawn 8
AddPlayerClass(108,2168.3401,-1673.5699,15.0831,225.0000,0,0,0,0,0,0); // spawn 9
AddPlayerClass(110,2155.8486,-1699.7512,15.0859,182.2179,0,0,0,0,0,0); // spawn 10
AddPlayerClass(109,2139.5007,-1698.6825,15.0784,182.2179,0,0,0,0,0,0); // spawn 11
AddPlayerClass(108,2144.9766,-1663.9299,15.0859,219.5049,0,0,0,0,0,0); // spawn 12
AddPlayerClass(109,2179.8975,-1661.2783,14.9066,227.9415,0,0,0,0,0,0); // spawn 13
AddPlayerClass(163,2056.8923,-2376.8640,18.8203,254.5146,0,0,0,0,0,0); // spawn 14
AddPlayerClass(165,2056.8535,-2310.2192,18.8203,275.0921,0,0,0,0,0,0); // spawn 15
AddPlayerClass(164,2082.2815,-2294.2773,18.6639,87.2586,0,0,0,0,0,0); // spawn 16
AddPlayerClass(166,2083.0498,-2364.8760,18.4061,92.4731,0,0,0,0,0,0); // spawn 17
AddPlayerClass(45,316.0969,-1772.6989,4.6938,183.8209,0,0,0,0,0,0); // spawn 18
AddPlayerClass(138,305.3416,-1771.8264,4.5472,183.8209,0,0,0,0,0,0); // spawn 19
AddPlayerClass(146,295.0263,-1766.7380,4.5446,183.8209,0,0,0,0,0,0); // spawn 20
AddPlayerClass(140,281.1688,-1768.8191,4.5117,183.8209,0,0,0,0,0,0); // spawn 21
AddPlayerClass(280,1551.2970,-1675.4399,15.7861,91.1340,0,0,0,0,0,0); // spawn 22
AddPlayerClass(282,1605.4221,-1634.7566,13.7188,63.6029,0,0,0,0,0,0); // spawn 23
AddPlayerClass(285,1582.3250,-1692.1356,6.2188,231.7408,0,0,0,0,0,0); // spawn 24
AddPlayerClass(281,1553.7710,-1636.4558,6.2188,132.7751,0,0,0,0,0,0); // spawn 25
AddPlayerClass(23,529.0291,-1289.7460,17.2422,326.2364,0,0,0,0,0,0); // spawn 26
AddPlayerClass(228,476.0741,-1517.4198,20.4227,301.6377,0,0,0,0,0,0); // spawn 27
return 1;
}
Try this for test, if you still cant see the character please reply here i will help you.
Show the OnPlayerRequestClass. I think I know the problem.
You need repos your camera on OnPlayerRequestClass, as Jay just said, post it.
if you need something from the script i will give it if you ask for it.
@Jay.
MeNMYselv go edit the SetPlayerCameraPos ... for example like this:
I simply took grandlarc's positions, you can use them or use this one to set your own location.