public OnPlayerRequestClass(playerid, classid) { SetupPlayerForClassSelection(playerid); SetPlayerSpecialAction(playerid,5); PlayerPlaySound(playerid, 1185, 0.0, 0.0, 10.0); return 1; } |
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerSpecialAction(playerid,5);
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 10.0);
return 1;
}
public OnPlayerRequestClass(playerid, classid) { SetupPlayerForClassSelection(playerid); SetPlayerSpecialAction(playerid,5); PlayerPlaySound(playerid, 1185, 0.0, 0.0, 10.0); return 1; } public SetupPlayerForClassSelection(playerid) { 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); } |
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); }
public OnPlayerRequestClass(playerid, classid)
{
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.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);
SetPlayerSpecialAction(playerid,5);
return 1;
}
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0);