when i get on my server i ccant spawn
#4

Quote:
Originally Posted by TaiRinsuru
Посмотреть сообщение
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
AddPlayerClass(291,1744.5500,-1861.4077,13.5776,350.6742,0,0,0,0,0,0); // El Corona Spawn Civilan
AddPlayerClass(280,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // Police Officer spawn
AddPlayerClass(281,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 2
AddPlayerClass(282,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 3
AddPlayerClass(282,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 4
AddPlayerClass(283,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 5
AddPlayerClass(288,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD lider
AddPlayerClass(177,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari spawn
AddPlayerClass(70,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari Lider
AddPlayerClass(276,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari rank 2
AddPlayerClass(275,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari rank 3
    return 1;
}
AddPlayerClass should go under OnGameModeInit then you can check for the class IDs in this callback.
Reply


Messages In This Thread
when i get on my server i ccant spawn NOT SOLVED - by Dejan12345 - 16.07.2016, 06:48
Re: when i get on my server i ccant spawn - by TaiRinsuru - 16.07.2016, 07:05
Re: when i get on my server i ccant spawn - by Dejan12345 - 16.07.2016, 07:26
Re: when i get on my server i ccant spawn - by Sjn - 16.07.2016, 07:29
Re: when i get on my server i ccant spawn - by Dejan12345 - 16.07.2016, 07:29

Forum Jump:


Users browsing this thread: 1 Guest(s)