16.09.2012, 01:19
Code:
public OnPlayerRequestClass(playerid, classid) { SetupPlayerForClassSelection(playerid); SetPlayerSpecialAction(playerid,5); return 1; } public SetupPlayerForClassSelection(playerid) { PlayerPlaySound(playerid, 1185, 0.0, 0.0, 10.0); SetPlayerPos(playerid,-2093.3120,2312.8262,25.9141); SetPlayerFacingAngle(playerid, 277.1146); SetPlayerCameraPos(playerid,-2090.034179,2311.972167,26.926900); SetPlayerCameraLookAt(playerid,-2093.3120,2312.8262,25.9141); }