27.09.2011, 20:07
This is from my script, if it will help you!
If this will help at all?
pawn Код:
//On gamemodeinit
AddPlayerClass(285,1545.8413,-1675.4119,13.5612,87.3719,0,0,0,0,0,0); // Police Spawn
//On playerrequestclass
else if(classid == 2)//3rd spawn option
{
gTeam[playerid] = TEAM_POLICE
GameTextForPlayer(playerid,"~b~Los Santos Police",3000,5);
SetPlayerPos(playerid,1545.8413,-1675.4119,13.5612);
SetPlayerCameraPos(playerid,1534.0709,-1675.0957,13.3828);
SetPlayerCameraLookAt(playerid,1545.8413,-1675.4119,13.5612);
SetPlayerFacingAngle(playerid,88.9386);
SetPlayerColor(playerid,COLOR_BLUE);
SetPlayerTeam(playerid,2);
}