30.08.2011, 23:29
Quote:
Under OnPlayerRequestClass add this
SetupPlayerForClassSelection(playerid); So it reads from SetupPlayerForClassSelection and does the following at SetupPlayerForClassSelection |
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetupPlayerForClassSelection(playerid);
AddPlayerClass(285,-379.6754,911.4002,9.4913,81.5043,0,0,0,0,0,0);//Team3///
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}