09.10.2012, 17:15
How can i make 2 different spawn-points?
1 for the GROVE_STREET
1 for the POLICE
Got this..
1 for the GROVE_STREET
1 for the POLICE
Got this..
Quote:
public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(105,2497.2693,-1676.9578,13.3398,23.6501,0,0,0,0,0,0); //Grove Street Gang Member (0) AddPlayerClass(280,1544.0514,-1675.7766,13.5577,98.0974,0,0,0,0,0,0); //Police Officer (1) return 1; } |
Quote:
public OnPlayerRequestClass(playerid, classid) { SetPlayerTeamFromClass(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); return 1; } |